Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002416/0.002416, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.156/3.156, allocations: 497.2 MB / 0.7811 GB, free: 33.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3547, allocations: 173.9 MB / 1.304 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2016/0.5563, allocations: 169 MB / 1.469 GB, free: 7.789 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02447/0.5808, allocations: 17.47 MB / 1.486 GB, free: 6.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.5823, allocations: 31.81 kB / 1.486 GB, free: 6.238 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.5843, allocations: 0.5933 MB / 1.487 GB, free: 5.641 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005216/0.5895, allocations: 1.823 MB / 1.488 GB, free: 3.816 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.5933, allocations: 1.442 MB / 1.49 GB, free: 2.387 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003972/0.5972, allocations: 2.883 MB / 1.493 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.5998, allocations: 1.601 MB / 1.494 GB, free: 13.84 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004313/0.6041, allocations: 1.476 MB / 1.496 GB, free: 12.4 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.6059, allocations: 1.151 MB / 1.497 GB, free: 11.25 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.00052/0.6064, allocations: 224 kB / 1.497 GB, free: 11.03 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.6102, allocations: 1.595 MB / 1.499 GB, free: 9.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.6112, allocations: 0.8178 MB / 1.499 GB, free: 8.609 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.613, allocations: 1.283 MB / 1.501 GB, free: 7.32 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00579/0.6188, allocations: 3.759 MB / 1.504 GB, free: 3.547 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6188, allocations: 0 / 1.504 GB, free: 3.547 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6188, allocations: 0 / 1.504 GB, free: 3.547 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.608e-05/0.6189, allocations: 0 / 1.504 GB, free: 3.547 MB / 1.201 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.005343/0.6242, allocations: 3.032 MB / 1.507 GB, free: 460 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6243, allocations: 12.61 kB / 1.507 GB, free: 448 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000299/0.6246, allocations: 244.9 kB / 1.508 GB, free: 192 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.6283, allocations: 0.5837 MB / 1.508 GB, free: 15.6 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.6329, allocations: 3.454 MB / 1.511 GB, free: 12.1 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.633, allocations: 131.4 kB / 1.512 GB, free: 11.97 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.6332, allocations: 168 kB / 1.512 GB, free: 11.8 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/0.6366, allocations: 1.957 MB / 1.514 GB, free: 9.797 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.6366, allocations: 0 / 1.514 GB, free: 9.797 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.6368, allocations: 72 kB / 1.514 GB, free: 9.727 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.6368, allocations: 47.98 kB / 1.514 GB, free: 9.68 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003695/0.6405, allocations: 2.113 MB / 1.516 GB, free: 7.562 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.6512, allocations: 6.922 MB / 1.523 GB, free: 256 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003472/0.6547, allocations: 2.046 MB / 1.525 GB, free: 14.12 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.656, allocations: 0.7182 MB / 1.525 GB, free: 13.4 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006187/0.6566, allocations: 425.5 kB / 1.526 GB, free: 12.91 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/0.6584, allocations: 1.017 MB / 1.527 GB, free: 11.88 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 2.915e-06/0.6584, allocations: 4 kB / 1.527 GB, free: 11.87 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.006936/0.6653, allocations: 3.005 MB / 1.53 GB, free: 8.754 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.6655, allocations: 201.2 kB / 1.53 GB, free: 8.512 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005017/0.6705, allocations: 4.098 MB / 1.534 GB, free: 4.41 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.6707, allocations: 65.7 kB / 1.534 GB, free: 4.34 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009144/0.6716, allocations: 0.8999 MB / 1.535 GB, free: 3.43 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005131/0.6721, allocations: 0.4996 MB / 1.535 GB, free: 2.926 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004318/0.6726, allocations: 246.8 kB / 1.536 GB, free: 2.68 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.6728, allocations: 353.9 kB / 1.536 GB, free: 2.328 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.6739, allocations: 0.5804 MB / 1.536 GB, free: 1.746 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.6754, allocations: 0.8047 MB / 1.537 GB, free: 0.8828 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.6778, allocations: 1.337 MB / 1.539 GB, free: 15.53 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6778, allocations: 3.938 kB / 1.539 GB, free: 15.53 MB / 1.248 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004218/0.6821, allocations: 1.808 MB / 1.54 GB, free: 13.7 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.6821, allocations: 6.188 kB / 1.54 GB, free: 13.69 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6821, allocations: 0 / 1.54 GB, free: 13.69 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.6832, allocations: 212.1 kB / 1.54 GB, free: 13.47 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.6847, allocations: 331.6 kB / 1.541 GB, free: 13.14 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007205/0.6919, allocations: 7.329 MB / 1.548 GB, free: 5.113 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.6937, allocations: 163.1 kB / 1.548 GB, free: 4.953 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.6939, allocations: 51.97 kB / 1.548 GB, free: 4.902 MB / 1.248 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.001108/0.695, allocations: 497.5 kB / 1.549 GB, free: 4.406 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/0.6954, allocations: 202.7 kB / 1.549 GB, free: 4.207 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00459/0.7, allocations: 2.154 MB / 1.551 GB, free: 2.023 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.7, allocations: 16 kB / 1.551 GB, free: 2.008 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7, allocations: 8 kB / 1.551 GB, free: 2 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/0.7001, allocations: 11.91 kB / 1.551 GB, free: 1.988 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007691/0.7077, allocations: 4.137 MB / 1.555 GB, free: 13.78 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.7078, allocations: 0 / 1.555 GB, free: 13.78 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/0.7093, allocations: 323.6 kB / 1.555 GB, free: 13.46 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00089/0.7102, allocations: 192.1 kB / 1.555 GB, free: 13.26 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.7103, allocations: 43.95 kB / 1.556 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.7175, allocations: 7.38 MB / 1.563 GB, free: 5.129 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7175, allocations: 0 / 1.563 GB, free: 5.129 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004671/0.7222, allocations: 2.029 MB / 1.565 GB, free: 3.059 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.7236, allocations: 0.5187 MB / 1.565 GB, free: 2.52 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.7239, allocations: 31.98 kB / 1.565 GB, free: 2.488 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.7252, allocations: 115.8 kB / 1.565 GB, free: 2.375 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/0.7255, allocations: 109.2 kB / 1.565 GB, free: 2.27 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.7256, allocations: 71.94 kB / 1.566 GB, free: 2.199 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003973/0.7296, allocations: 3.145 MB / 1.569 GB, free: 15.06 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7296, allocations: 0 / 1.569 GB, free: 15.06 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002726/0.7323, allocations: 0.6937 MB / 1.569 GB, free: 14.36 MB / 1.279 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.007738/0.7401, allocations: 3.258 MB / 1.572 GB, free: 11.27 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003918/0.744, allocations: 2.031 MB / 1.574 GB, free: 9.176 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.744, allocations: 0.5625 kB / 1.574 GB, free: 9.176 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.7463, allocations: 1.368 MB / 1.576 GB, free: 7.746 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.7491, allocations: 0.5506 MB / 1.576 GB, free: 7.219 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/0.7824, allocations: 21.18 MB / 1.597 GB, free: 1.793 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.7839, allocations: 1.547 MB / 1.599 GB, free: 220 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001901/0.7858, allocations: 0.5329 MB / 1.599 GB, free: 15.68 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.7871, allocations: 0.9053 MB / 1.6 GB, free: 14.77 MB / 1.311 GB Notification: Performance of SimCode: time 1.263e-06/0.7871, allocations: 0 / 1.6 GB, free: 14.77 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.801/1.588, allocations: 49.9 MB / 1.649 GB, free: 295 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/18.3, allocations: 10.2 kB / 1.649 GB, free: 295 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.26311596063897]