Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005722/0.005722, allocations: 102.1 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 194.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 69.58 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2936, allocations: 140.4 MB / 1.088 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001802/0.2954, allocations: 0.6631 MB / 1.088 GB, free: 1.383 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.2963, allocations: 0.8043 MB / 1.089 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.2964, allocations: 4 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.2965, allocations: 0 / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.2965, allocations: 3.938 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.2967, allocations: 7.984 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.642e-05/0.2968, allocations: 23.94 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.2969, allocations: 7.984 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.297, allocations: 11.94 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.297, allocations: 15.97 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.297, allocations: 0 / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.297, allocations: 4 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.2971, allocations: 3.938 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.2971, allocations: 8 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.835e-05/0.2972, allocations: 23.89 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2972, allocations: 0 / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2972, allocations: 0 / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.2972, allocations: 4 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004288/0.2976, allocations: 334.4 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2977, allocations: 12.03 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.2977, allocations: 30.75 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2978, allocations: 4.844 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.2979, allocations: 168.3 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2979, allocations: 8.312 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.2979, allocations: 384 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.2981, allocations: 54.23 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2981, allocations: 3.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.2981, allocations: 3.938 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2982, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.2983, allocations: 35.95 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.2987, allocations: 241 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2988, allocations: 50.42 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.538e-05/0.2989, allocations: 16.91 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2989, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.299, allocations: 38.56 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.299, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000355/0.2993, allocations: 77.64 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.2994, allocations: 59.34 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.2994, allocations: 101.8 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2995, allocations: 25.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.2995, allocations: 84.05 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2995, allocations: 8.547 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.2996, allocations: 17.84 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.2997, allocations: 310.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.2998, allocations: 23.97 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.2999, allocations: 11.98 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3, allocations: 36.83 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3, allocations: 8 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.3002, allocations: 69.56 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3002, allocations: 11.94 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3003, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3003, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.3004, allocations: 7.984 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3004, allocations: 4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.3004, allocations: 8.031 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3004, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.3005, allocations: 114 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3005, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.3006, allocations: 11.31 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3006, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3006, allocations: 7.984 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3006, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3007, allocations: 161.5 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3007, allocations: 7.922 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.3008, allocations: 15.94 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3008, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3008, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3008, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3008, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.3011, allocations: 171.4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.3011, allocations: 85 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3011, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.3012, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.3013, allocations: 7.984 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3013, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.3013, allocations: 79.28 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3013, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002148/0.3015, allocations: 8 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005215/0.3021, allocations: 0.6929 MB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3023, allocations: 47.92 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3023, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.3024, allocations: 15.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3027, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.3032, allocations: 136.4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3034, allocations: 0.6768 MB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.3035, allocations: 128 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.3035, allocations: 11.44 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3035, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.3211, allocations: 1.292 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.059, allocations: 10.22 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches