Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00125/0.00125, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001424/0.001424, allocations: 216.9 kB / 22.24 MB, free: 5.262 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.923/2.923, allocations: 0.49 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_12_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.001882/0.001882, allocations: 66.2 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3097, allocations: 176.1 MB / 1.326 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1756/0.4853, allocations: 148.4 MB / 1.471 GB, free: 12.46 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.5067, allocations: 16.22 MB / 1.487 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.5081, allocations: 39.69 kB / 1.487 GB, free: 12.15 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.5098, allocations: 0.5622 MB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.515, allocations: 1.856 MB / 1.489 GB, free: 9.727 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.5187, allocations: 1.47 MB / 1.49 GB, free: 8.27 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003697/0.5224, allocations: 2.918 MB / 1.493 GB, free: 5.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.5248, allocations: 1.598 MB / 1.495 GB, free: 3.68 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004264/0.5291, allocations: 1.531 MB / 1.496 GB, free: 2.195 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.5307, allocations: 1.159 MB / 1.497 GB, free: 1.031 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004289/0.5311, allocations: 224 kB / 1.498 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.5341, allocations: 1.49 MB / 1.499 GB, free: 15.32 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000822/0.5349, allocations: 0.8256 MB / 1.5 GB, free: 14.49 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.5362, allocations: 1.05 MB / 1.501 GB, free: 13.44 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005503/0.5417, allocations: 3.817 MB / 1.505 GB, free: 9.605 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.5417, allocations: 4 kB / 1.505 GB, free: 9.602 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5417, allocations: 0 / 1.505 GB, free: 9.602 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001189/0.5419, allocations: 3.938 kB / 1.505 GB, free: 9.598 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.006246/0.5481, allocations: 2.984 MB / 1.508 GB, free: 6.566 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.5482, allocations: 8.031 kB / 1.508 GB, free: 6.559 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003097/0.5485, allocations: 244.9 kB / 1.508 GB, free: 6.309 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.553, allocations: 0.6384 MB / 1.508 GB, free: 5.668 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/0.5581, allocations: 3.386 MB / 1.512 GB, free: 2.25 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.5582, allocations: 123.4 kB / 1.512 GB, free: 2.129 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.5585, allocations: 172 kB / 1.512 GB, free: 1.961 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.5625, allocations: 2.717 MB / 1.515 GB, free: 15.01 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/0.5626, allocations: 4 kB / 1.515 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.5627, allocations: 72 kB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.5628, allocations: 40 kB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.5663, allocations: 2.066 MB / 1.517 GB, free: 12.82 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009706/0.576, allocations: 5.129 MB / 1.522 GB, free: 7.605 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/0.5792, allocations: 1.741 MB / 1.524 GB, free: 5.871 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.5805, allocations: 0.7216 MB / 1.524 GB, free: 5.141 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/0.581, allocations: 117.2 kB / 1.524 GB, free: 5.027 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002175/0.5832, allocations: 1.615 MB / 1.526 GB, free: 3.242 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.256e-06/0.5832, allocations: 7.938 kB / 1.526 GB, free: 3.234 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006854/0.59, allocations: 2.629 MB / 1.529 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.5901, allocations: 201.2 kB / 1.529 GB, free: 356 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/0.595, allocations: 4.134 MB / 1.533 GB, free: 12.21 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.5953, allocations: 53.7 kB / 1.533 GB, free: 12.15 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008356/0.5961, allocations: 0.9156 MB / 1.534 GB, free: 11.22 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004946/0.5966, allocations: 0.4957 MB / 1.534 GB, free: 10.73 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004013/0.597, allocations: 242.8 kB / 1.534 GB, free: 10.48 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5972, allocations: 349.9 kB / 1.535 GB, free: 10.13 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.5983, allocations: 0.5804 MB / 1.535 GB, free: 9.555 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.5999, allocations: 1.235 MB / 1.537 GB, free: 8.152 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.6023, allocations: 1.333 MB / 1.538 GB, free: 6.809 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6023, allocations: 4 kB / 1.538 GB, free: 6.805 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004114/0.6064, allocations: 1.812 MB / 1.54 GB, free: 4.969 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.6065, allocations: 11.94 kB / 1.54 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.6065, allocations: 0 / 1.54 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.6075, allocations: 208.1 kB / 1.54 GB, free: 4.738 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.6092, allocations: 331.6 kB / 1.54 GB, free: 4.414 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006337/0.6155, allocations: 6.791 MB / 1.547 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.6171, allocations: 171.3 kB / 1.547 GB, free: 12.88 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.6172, allocations: 47.97 kB / 1.547 GB, free: 12.83 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.000922/0.6182, allocations: 493.4 kB / 1.547 GB, free: 12.34 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/0.6186, allocations: 206.7 kB / 1.548 GB, free: 12.13 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/0.6234, allocations: 2.158 MB / 1.55 GB, free: 9.945 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.6234, allocations: 19.98 kB / 1.55 GB, free: 9.926 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6234, allocations: 4 kB / 1.55 GB, free: 9.922 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.6234, allocations: 3.984 kB / 1.55 GB, free: 9.918 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007485/0.6309, allocations: 3.844 MB / 1.554 GB, free: 6.012 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6309, allocations: 0 / 1.554 GB, free: 6.012 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.6324, allocations: 323.5 kB / 1.554 GB, free: 5.695 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009134/0.6334, allocations: 196.1 kB / 1.554 GB, free: 5.488 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/0.6335, allocations: 39.97 kB / 1.554 GB, free: 5.449 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006093/0.6396, allocations: 6.822 MB / 1.561 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6396, allocations: 3.984 kB / 1.561 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.6441, allocations: 2.041 MB / 1.563 GB, free: 11.96 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.6454, allocations: 458 kB / 1.563 GB, free: 11.51 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003542/0.6458, allocations: 28 kB / 1.563 GB, free: 11.48 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.6473, allocations: 123.6 kB / 1.563 GB, free: 11.36 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.6475, allocations: 113.1 kB / 1.563 GB, free: 11.25 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/0.6477, allocations: 75.94 kB / 1.563 GB, free: 11.18 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003525/0.6512, allocations: 3.161 MB / 1.567 GB, free: 8.023 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6512, allocations: 0 / 1.567 GB, free: 8.023 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001954/0.6532, allocations: 0.7054 MB / 1.567 GB, free: 7.316 MB / 1.264 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.006692/0.6599, allocations: 3.272 MB / 1.57 GB, free: 4.215 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003466/0.6634, allocations: 2.023 MB / 1.572 GB, free: 2.125 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.6634, allocations: 4.656 kB / 1.572 GB, free: 2.121 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.6654, allocations: 1.364 MB / 1.574 GB, free: 0.6953 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.6677, allocations: 0.5548 MB / 1.574 GB, free: 168 kB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03214/0.6999, allocations: 21.24 MB / 1.595 GB, free: 10.68 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.701, allocations: 0.9696 MB / 1.596 GB, free: 9.664 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001724/0.7027, allocations: 0.5328 MB / 1.597 GB, free: 9.125 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.704, allocations: 0.9171 MB / 1.597 GB, free: 8.207 MB / 1.295 GB Notification: Performance of SimCode: time 6.52e-07/0.704, allocations: 0 / 1.597 GB, free: 8.207 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6463/1.35, allocations: 53.86 MB / 1.65 GB, free: 256.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.49, allocations: 10.66 kB / 1.65 GB, free: 256.1 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.770463088003453]