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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001366/0.001366, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001572/0.001572, allocations: 194.6 kB / 16.25 MB, free: 6.625 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.465/2.465, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.88 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5264, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1581/0.6846, allocations: 166.2 MB / 1.179 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.7041, allocations: 17.18 MB / 1.196 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.7057, allocations: 27.81 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.7074, allocations: 497 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.7121, allocations: 1.634 MB / 1.198 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.7158, allocations: 1.297 MB / 1.199 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004158/0.72, allocations: 2.887 MB / 1.202 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002644/0.7227, allocations: 1.952 MB / 1.204 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005199/0.7279, allocations: 1.436 MB / 1.205 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.7295, allocations: 1.152 MB / 1.207 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.73, allocations: 220 kB / 1.207 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.7329, allocations: 1.568 MB / 1.208 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008197/0.7337, allocations: 0.8062 MB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.7355, allocations: 1.283 MB / 1.21 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004581/0.74, allocations: 3.731 MB / 1.214 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7401, allocations: 0 / 1.214 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7401, allocations: 0 / 1.214 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.734e-05/0.7402, allocations: 0 / 1.214 GB, free: 8.152 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.005447/0.7456, allocations: 2.947 MB / 1.217 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7457, allocations: 12.03 kB / 1.217 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/0.746, allocations: 252.9 kB / 1.217 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/0.7497, allocations: 0.5628 MB / 1.218 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/0.7532, allocations: 3.406 MB / 1.221 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.7533, allocations: 127.4 kB / 1.221 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.7535, allocations: 168 kB / 1.221 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/0.7567, allocations: 1.968 MB / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.7567, allocations: 0 / 1.223 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.7569, allocations: 71.94 kB / 1.223 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.7569, allocations: 40 kB / 1.223 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003303/0.7602, allocations: 2.113 MB / 1.225 GB, free: 12.31 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.008477/0.7687, allocations: 6.756 MB / 1.232 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.7718, allocations: 2.131 MB / 1.234 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.7731, allocations: 0.7763 MB / 1.235 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/0.7736, allocations: 433.6 kB / 1.235 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/0.7753, allocations: 1.017 MB / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/0.7753, allocations: 0 / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006609/0.7819, allocations: 2.996 MB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.782, allocations: 201.2 kB / 1.239 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/0.7862, allocations: 4.106 MB / 1.243 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.7863, allocations: 53.7 kB / 1.243 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006849/0.787, allocations: 0.8947 MB / 1.244 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003676/0.7874, allocations: 481 kB / 1.245 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.7878, allocations: 242.7 kB / 1.245 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7879, allocations: 353.9 kB / 1.245 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.789, allocations: 0.5843 MB / 1.246 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.7903, allocations: 0.8087 MB / 1.247 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.7926, allocations: 1.333 MB / 1.248 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7926, allocations: 0 / 1.248 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003821/0.7964, allocations: 1.807 MB / 1.25 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7964, allocations: 4 kB / 1.25 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7964, allocations: 3.938 kB / 1.25 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.7975, allocations: 208.1 kB / 1.25 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.7991, allocations: 331.6 kB / 1.25 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4094/1.208, allocations: 7.335 MB / 1.257 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/1.21, allocations: 187.4 kB / 1.258 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.21, allocations: 49.2 kB / 1.258 GB, free: 225.2 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.0008865/1.211, allocations: 496.1 kB / 1.258 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/1.212, allocations: 192.9 kB / 1.258 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/1.216, allocations: 2.164 MB / 1.26 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.216, allocations: 19.25 kB / 1.26 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.216, allocations: 6.703 kB / 1.26 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.216, allocations: 7.594 kB / 1.26 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006884/1.223, allocations: 4.132 MB / 1.264 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.223, allocations: 0.9688 kB / 1.264 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/1.225, allocations: 322.9 kB / 1.265 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008555/1.226, allocations: 199.7 kB / 1.265 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.761e-05/1.226, allocations: 44.22 kB / 1.265 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/1.23, allocations: 7.357 MB / 1.272 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.23, allocations: 0.5312 kB / 1.272 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004658/1.235, allocations: 2.02 MB / 1.274 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/1.236, allocations: 0.5134 MB / 1.275 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/1.236, allocations: 33.56 kB / 1.275 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.237, allocations: 153.9 kB / 1.275 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/1.238, allocations: 112.2 kB / 1.275 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.238, allocations: 70.02 kB / 1.275 GB, free: 214.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003045/1.241, allocations: 3.151 MB / 1.278 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.241, allocations: 0 / 1.278 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001827/1.243, allocations: 0.6926 MB / 1.279 GB, free: 213.4 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.005406/1.248, allocations: 3.236 MB / 1.282 GB, free: 211.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004968/1.253, allocations: 2.512 MB / 1.284 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.253, allocations: 6.062 kB / 1.284 GB, free: 210.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/1.255, allocations: 1.421 MB / 1.286 GB, free: 210.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/1.257, allocations: 0.5484 MB / 1.286 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/1.283, allocations: 23.54 MB / 1.309 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/1.284, allocations: 1.55 MB / 1.311 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001898/1.286, allocations: 0.5212 MB / 1.311 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000918/1.287, allocations: 0.9092 MB / 1.312 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.287, allocations: 0 / 1.312 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.439/2.726, allocations: 48.83 MB / 1.36 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/2.727, allocations: 289.5 kB / 1.36 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/6.024, allocations: 7.312 kB / 1.36 GB, free: 139.1 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