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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 215 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.325/1.325, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.907/2.907, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 73.41 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3006, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.188/0.4886, allocations: 172.1 MB / 1.521 GB, free: 11.62 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02374/0.5123, allocations: 17.76 MB / 1.538 GB, free: 9.812 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.5139, allocations: 43.62 kB / 1.538 GB, free: 9.77 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.516, allocations: 0.5973 MB / 1.539 GB, free: 9.168 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.5214, allocations: 1.856 MB / 1.541 GB, free: 7.309 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004153/0.5256, allocations: 1.501 MB / 1.542 GB, free: 5.82 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004205/0.5298, allocations: 2.929 MB / 1.545 GB, free: 2.883 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.5326, allocations: 1.598 MB / 1.547 GB, free: 1.227 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/0.5369, allocations: 1.516 MB / 1.548 GB, free: 15.75 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.539, allocations: 1.152 MB / 1.549 GB, free: 14.6 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.000624/0.5396, allocations: 224 kB / 1.549 GB, free: 14.38 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.5431, allocations: 1.677 MB / 1.551 GB, free: 12.7 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.5441, allocations: 0.8295 MB / 1.552 GB, free: 11.87 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002004/0.5461, allocations: 1.286 MB / 1.553 GB, free: 10.57 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005943/0.552, allocations: 3.817 MB / 1.557 GB, free: 6.742 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5521, allocations: 0 / 1.557 GB, free: 6.742 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5521, allocations: 0 / 1.557 GB, free: 6.742 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.000117/0.5522, allocations: 0 / 1.557 GB, free: 6.742 MB / 1.248 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.006511/0.5587, allocations: 2.972 MB / 1.56 GB, free: 3.723 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5587, allocations: 8.031 kB / 1.56 GB, free: 3.715 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004556/0.5592, allocations: 248.9 kB / 1.56 GB, free: 3.461 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/0.5635, allocations: 0.6383 MB / 1.561 GB, free: 2.82 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.5684, allocations: 3.374 MB / 1.564 GB, free: 15.41 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.5685, allocations: 135.4 kB / 1.564 GB, free: 15.28 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/0.5688, allocations: 167.9 kB / 1.564 GB, free: 15.11 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.5725, allocations: 1.968 MB / 1.566 GB, free: 13.09 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.5725, allocations: 0 / 1.566 GB, free: 13.09 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.5727, allocations: 75.98 kB / 1.566 GB, free: 13.02 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.5728, allocations: 43.94 kB / 1.566 GB, free: 12.98 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00371/0.5765, allocations: 2.113 MB / 1.568 GB, free: 10.86 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.5874, allocations: 6.859 MB / 1.575 GB, free: 3.605 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003226/0.5906, allocations: 1.739 MB / 1.577 GB, free: 1.867 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.5919, allocations: 0.7177 MB / 1.577 GB, free: 1.141 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/0.5923, allocations: 129.2 kB / 1.578 GB, free: 1.016 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.5941, allocations: 1.017 MB / 1.579 GB, free: 15.97 MB / 1.279 GB Notification: Performance of pre-optimization done (n=146): time 3.136e-06/0.5941, allocations: 0 / 1.579 GB, free: 15.97 MB / 1.279 GB Notification: Performance of matching and sorting (n=146): time 0.00668/0.6008, allocations: 2.633 MB / 1.581 GB, free: 13.32 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.6009, allocations: 205.2 kB / 1.581 GB, free: 13.08 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.606, allocations: 4.123 MB / 1.585 GB, free: 8.957 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001732/0.6062, allocations: 53.7 kB / 1.585 GB, free: 8.898 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.000903/0.6071, allocations: 0.9234 MB / 1.586 GB, free: 7.965 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/0.6076, allocations: 0.4919 MB / 1.587 GB, free: 7.469 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.608, allocations: 238.8 kB / 1.587 GB, free: 7.227 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6082, allocations: 353.9 kB / 1.587 GB, free: 6.875 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.6093, allocations: 0.5843 MB / 1.588 GB, free: 6.293 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.6107, allocations: 0.8086 MB / 1.589 GB, free: 5.422 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.6132, allocations: 1.333 MB / 1.59 GB, free: 4.078 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6132, allocations: 0 / 1.59 GB, free: 4.078 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004044/0.6173, allocations: 1.819 MB / 1.592 GB, free: 2.234 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.6173, allocations: 4 kB / 1.592 GB, free: 2.23 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6173, allocations: 0 / 1.592 GB, free: 2.23 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.6183, allocations: 208.2 kB / 1.592 GB, free: 2.012 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.6198, allocations: 331.5 kB / 1.592 GB, free: 1.688 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006284/0.6261, allocations: 6.821 MB / 1.599 GB, free: 10.29 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.6276, allocations: 159.2 kB / 1.599 GB, free: 10.13 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.6278, allocations: 63.95 kB / 1.599 GB, free: 10.07 MB / 1.295 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.0009722/0.6288, allocations: 489.5 kB / 1.6 GB, free: 9.578 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/0.6293, allocations: 214.6 kB / 1.6 GB, free: 9.367 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.6339, allocations: 2.15 MB / 1.602 GB, free: 7.188 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.634, allocations: 20 kB / 1.602 GB, free: 7.168 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.634, allocations: 0 / 1.602 GB, free: 7.168 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.634, allocations: 7.969 kB / 1.602 GB, free: 7.16 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007935/0.6419, allocations: 4.124 MB / 1.606 GB, free: 2.973 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.6419, allocations: 7.938 kB / 1.606 GB, free: 2.965 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.6434, allocations: 319.6 kB / 1.606 GB, free: 2.652 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008982/0.6443, allocations: 200.1 kB / 1.606 GB, free: 2.441 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.6444, allocations: 39.97 kB / 1.607 GB, free: 2.402 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5299/1.174, allocations: 6.847 MB / 1.613 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.174, allocations: 0.8438 kB / 1.613 GB, free: 248 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/1.178, allocations: 2.035 MB / 1.615 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009804/1.179, allocations: 461.6 kB / 1.616 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/1.18, allocations: 26.91 kB / 1.616 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/1.181, allocations: 112.7 kB / 1.616 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.181, allocations: 125.1 kB / 1.616 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.181, allocations: 69.67 kB / 1.616 GB, free: 247.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003544/1.185, allocations: 3.165 MB / 1.619 GB, free: 247.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 0.5312 kB / 1.619 GB, free: 247.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001815/1.187, allocations: 0.7006 MB / 1.62 GB, free: 247 MB / 1.295 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.005612/1.192, allocations: 3.217 MB / 1.623 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.196, allocations: 2.028 MB / 1.625 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.196, allocations: 6.688 kB / 1.625 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.198, allocations: 1.371 MB / 1.626 GB, free: 243.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/1.2, allocations: 0.5645 MB / 1.627 GB, free: 243.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/1.227, allocations: 21.25 MB / 1.648 GB, free: 235.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009274/1.228, allocations: 1.546 MB / 1.649 GB, free: 235 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001556/1.23, allocations: 0.5345 MB / 1.65 GB, free: 235 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000948/1.231, allocations: 0.907 MB / 1.65 GB, free: 234.3 MB / 1.295 GB Notification: Performance of SimCode: time 6.21e-07/1.231, allocations: 0.9844 kB / 1.65 GB, free: 234.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08564/1.317, allocations: 51.17 MB / 1.7 GB, free: 188.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.8, allocations: 8.438 kB / 1.7 GB, free: 188.8 MB / 1.295 GB " [Timeout remaining time 283] (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/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: 23.0503319890704]