Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",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.001218/0.001222, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.284/2.284, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6736, allocations: 140.3 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1696/0.8433, allocations: 167.2 MB / 1.113 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01933/0.8626, allocations: 17.2 MB / 1.13 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.8637, allocations: 31.81 kB / 1.13 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.8652, allocations: 0.5352 MB / 1.13 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.8694, allocations: 1.684 MB / 1.132 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.8723, allocations: 1.41 MB / 1.133 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.8748, allocations: 2.67 MB / 1.136 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.8769, allocations: 1.998 MB / 1.138 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.8801, allocations: 1.398 MB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.8812, allocations: 1.077 MB / 1.14 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.8815, allocations: 224 kB / 1.141 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.884, allocations: 1.529 MB / 1.142 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000604/0.8846, allocations: 0.8101 MB / 1.143 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009999/0.8856, allocations: 1.243 MB / 1.144 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.8892, allocations: 3.606 MB / 1.148 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.8892, allocations: 0 / 1.148 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.717e-06/0.8892, allocations: 0 / 1.148 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.8893, allocations: 3.938 kB / 1.148 GB, free: 6.484 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004386/0.8937, allocations: 2.903 MB / 1.15 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.8937, allocations: 8.031 kB / 1.15 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002668/0.894, allocations: 248.8 kB / 1.151 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/0.8976, allocations: 0.5744 MB / 1.151 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00343/0.901, allocations: 3.406 MB / 1.155 GB, free: 15.22 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-05/0.9011, allocations: 123.4 kB / 1.155 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.9013, allocations: 172 kB / 1.155 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.9044, allocations: 1.952 MB / 1.157 GB, free: 12.93 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.9044, allocations: 7.938 kB / 1.157 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.9046, allocations: 75.98 kB / 1.157 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.9046, allocations: 44 kB / 1.157 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.9081, allocations: 2.113 MB / 1.159 GB, free: 10.69 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008762/0.9169, allocations: 6.395 MB / 1.165 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.9202, allocations: 2.145 MB / 1.167 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.9215, allocations: 0.7646 MB / 1.168 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005382/0.9221, allocations: 429.6 kB / 1.168 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.9238, allocations: 1.012 MB / 1.169 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.068e-06/0.9238, allocations: 0 / 1.169 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.007261/0.931, allocations: 3.004 MB / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.9312, allocations: 201.2 kB / 1.173 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/0.9357, allocations: 4.098 MB / 1.177 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.9359, allocations: 53.7 kB / 1.177 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/0.9366, allocations: 0.8985 MB / 1.177 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003839/0.937, allocations: 488.9 kB / 1.178 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.9374, allocations: 230.9 kB / 1.178 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9375, allocations: 357.9 kB / 1.179 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.9387, allocations: 0.5882 MB / 1.179 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.9401, allocations: 0.8047 MB / 1.18 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/0.9426, allocations: 1.337 MB / 1.181 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9426, allocations: 0 / 1.181 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004296/0.9469, allocations: 1.795 MB / 1.183 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9469, allocations: 4 kB / 1.183 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.947, allocations: 0 / 1.183 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.9481, allocations: 216.1 kB / 1.183 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.9503, allocations: 331.6 kB / 1.183 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/0.9568, allocations: 7.321 MB / 1.191 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.9583, allocations: 168.5 kB / 1.191 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.9584, allocations: 51.97 kB / 1.191 GB, free: 8.605 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008377/0.9593, allocations: 498.3 kB / 1.191 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.9597, allocations: 189.7 kB / 1.191 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.9644, allocations: 2.169 MB / 1.194 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.9644, allocations: 16 kB / 1.194 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.9644, allocations: 4 kB / 1.194 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.9645, allocations: 11.91 kB / 1.194 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.9714, allocations: 4.14 MB / 1.198 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9714, allocations: 0 / 1.198 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9729, allocations: 323.5 kB / 1.198 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009336/0.9739, allocations: 200.1 kB / 1.198 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.974, allocations: 39.97 kB / 1.198 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.9795, allocations: 7.371 MB / 1.205 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9796, allocations: 0 / 1.205 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/0.9843, allocations: 2.022 MB / 1.207 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.9857, allocations: 0.506 MB / 1.208 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.9861, allocations: 39.94 kB / 1.208 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/0.9883, allocations: 108.6 kB / 1.208 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/0.9886, allocations: 117.2 kB / 1.208 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/0.9889, allocations: 71.94 kB / 1.208 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.005341/0.9942, allocations: 3.145 MB / 1.211 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9943, allocations: 0 / 1.211 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002708/0.997, allocations: 0.6548 MB / 1.212 GB, free: 2.125 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008498/1.005, allocations: 3.249 MB / 1.215 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005474/1.011, allocations: 2.512 MB / 1.218 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.011, allocations: 8.547 kB / 1.218 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002913/1.014, allocations: 1.418 MB / 1.219 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/1.017, allocations: 0.5401 MB / 1.219 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04686/1.063, allocations: 22.85 MB / 1.242 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/1.065, allocations: 1.537 MB / 1.243 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003363/1.069, allocations: 0.5287 MB / 1.244 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/1.071, allocations: 0.9093 MB / 1.245 GB, free: 15.71 MB / 1.014 GB Notification: Performance of SimCode: time 3.236e-06/1.071, allocations: 0 / 1.245 GB, free: 15.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5082/1.579, allocations: 48.29 MB / 1.292 GB, free: 284.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.97, allocations: 4 kB / 1.292 GB, free: 284.1 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches