Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_10_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.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.00135, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.348/2.348, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.484, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1606/0.6447, allocations: 166.1 MB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.664, allocations: 17.42 MB / 1.196 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.6654, allocations: 23.88 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.6671, allocations: 493 kB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.6716, allocations: 1.586 MB / 1.198 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.6745, allocations: 1.275 MB / 1.199 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003024/0.6775, allocations: 3.12 MB / 1.202 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.6795, allocations: 1.81 MB / 1.204 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.6838, allocations: 1.262 MB / 1.205 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.6848, allocations: 1.101 MB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.685, allocations: 120 kB / 1.207 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.6877, allocations: 1.575 MB / 1.208 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005361/0.6882, allocations: 0.7164 MB / 1.209 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009698/0.6892, allocations: 1.181 MB / 1.21 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.6924, allocations: 3.645 MB / 1.213 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6924, allocations: 3.938 kB / 1.213 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6924, allocations: 0 / 1.213 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.6924, allocations: 0 / 1.213 GB, free: 8.719 MB / 0.9669 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.004689/0.6971, allocations: 2.942 MB / 1.216 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6972, allocations: 8.031 kB / 1.216 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.6974, allocations: 248.9 kB / 1.217 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/0.701, allocations: 0.5628 MB / 1.217 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.7042, allocations: 3.41 MB / 1.22 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.7043, allocations: 127.4 kB / 1.221 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.7045, allocations: 168 kB / 1.221 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.7074, allocations: 1.956 MB / 1.223 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.7074, allocations: 7.875 kB / 1.223 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.7076, allocations: 76 kB / 1.223 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.7076, allocations: 47.94 kB / 1.223 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.7108, allocations: 2.12 MB / 1.225 GB, free: 12.87 MB / 0.9825 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.007701/0.7185, allocations: 6.739 MB / 1.231 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/0.7215, allocations: 2.125 MB / 1.233 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.7227, allocations: 0.7764 MB / 1.234 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005016/0.7232, allocations: 421.6 kB / 1.235 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/0.7248, allocations: 1.028 MB / 1.236 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.705e-06/0.7248, allocations: 0 / 1.236 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006072/0.7309, allocations: 3.008 MB / 1.239 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.711e-05/0.731, allocations: 197.2 kB / 1.239 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/0.7347, allocations: 4.102 MB / 1.243 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.7348, allocations: 53.7 kB / 1.243 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006074/0.7354, allocations: 0.9024 MB / 1.244 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.7358, allocations: 481 kB / 1.244 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003505/0.7361, allocations: 238.8 kB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7362, allocations: 349.9 kB / 1.245 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.7373, allocations: 0.5921 MB / 1.245 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.7385, allocations: 0.8047 MB / 1.246 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/0.7407, allocations: 1.333 MB / 1.247 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7407, allocations: 0 / 1.247 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00347/0.7441, allocations: 1.803 MB / 1.249 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7442, allocations: 7.938 kB / 1.249 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7442, allocations: 4 kB / 1.249 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009655/0.7452, allocations: 212.2 kB / 1.249 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.7466, allocations: 331.5 kB / 1.25 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.358/1.105, allocations: 6.809 MB / 1.256 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.106, allocations: 192.2 kB / 1.257 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.106, allocations: 52.84 kB / 1.257 GB, free: 225.8 MB / 0.9981 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.0008034/1.107, allocations: 489.7 kB / 1.257 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/1.108, allocations: 194.1 kB / 1.257 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/1.112, allocations: 2.158 MB / 1.259 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.112, allocations: 15.72 kB / 1.259 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.112, allocations: 2.156 kB / 1.259 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/1.112, allocations: 11.56 kB / 1.259 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00627/1.118, allocations: 4.149 MB / 1.263 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.118, allocations: 1.375 kB / 1.263 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.12, allocations: 319.4 kB / 1.264 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008477/1.121, allocations: 215.7 kB / 1.264 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.279e-05/1.121, allocations: 45.33 kB / 1.264 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/1.124, allocations: 6.844 MB / 1.271 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.124, allocations: 4.5 kB / 1.271 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/1.129, allocations: 2.019 MB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/1.129, allocations: 0.5096 MB / 1.273 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/1.13, allocations: 28.34 kB / 1.273 GB, free: 215.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.131, allocations: 141.3 kB / 1.273 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/1.131, allocations: 116.4 kB / 1.273 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.131, allocations: 69.64 kB / 1.273 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002711/1.134, allocations: 3.143 MB / 1.277 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.134, allocations: 0 / 1.277 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001557/1.136, allocations: 0.6893 MB / 1.277 GB, free: 214.5 MB / 0.9981 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.00507/1.141, allocations: 3.228 MB / 1.28 GB, free: 213 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002914/1.144, allocations: 2.071 MB / 1.282 GB, free: 212 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.144, allocations: 1.938 kB / 1.282 GB, free: 212 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/1.145, allocations: 1.421 MB / 1.284 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.147, allocations: 0.5327 MB / 1.284 GB, free: 211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/1.171, allocations: 23.54 MB / 1.307 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/1.172, allocations: 1.537 MB / 1.309 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001582/1.173, allocations: 0.5251 MB / 1.309 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008662/1.174, allocations: 0.9053 MB / 1.31 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.174, allocations: 0 / 1.31 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3327/1.507, allocations: 47.64 MB / 1.357 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.507, allocations: 281.4 kB / 1.357 GB, free: 142 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/5.042, allocations: 0 / 1.357 GB, free: 142 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches