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.001296/0.001296, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001418/0.001418, allocations: 209.1 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.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.916/2.916, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.00195/0.00195, allocations: 69.61 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 176.1 MB / 1.325 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1783/0.476, allocations: 148.4 MB / 1.47 GB, free: 13.38 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02536/0.5013, allocations: 16.21 MB / 1.486 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.5028, allocations: 43.62 kB / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.5047, allocations: 0.5622 MB / 1.486 GB, free: 12.52 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005456/0.5101, allocations: 1.847 MB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.514, allocations: 1.466 MB / 1.49 GB, free: 9.211 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004529/0.5186, allocations: 2.922 MB / 1.492 GB, free: 6.277 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.5213, allocations: 1.571 MB / 1.494 GB, free: 4.645 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.5258, allocations: 1.509 MB / 1.495 GB, free: 3.176 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001847/0.5277, allocations: 1.069 MB / 1.497 GB, free: 2.102 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005279/0.5282, allocations: 224 kB / 1.497 GB, free: 1.883 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.532, allocations: 1.454 MB / 1.498 GB, free: 436 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.533, allocations: 0.8178 MB / 1.499 GB, free: 15.61 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.5351, allocations: 1.054 MB / 1.5 GB, free: 14.55 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006259/0.5413, allocations: 3.814 MB / 1.504 GB, free: 10.72 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5414, allocations: 0 / 1.504 GB, free: 10.72 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5414, allocations: 0 / 1.504 GB, free: 10.72 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001096/0.5415, allocations: 4 kB / 1.504 GB, free: 10.71 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.00575/0.5472, allocations: 2.986 MB / 1.507 GB, free: 7.684 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.5473, allocations: 12.03 kB / 1.507 GB, free: 7.672 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003047/0.5476, allocations: 252.8 kB / 1.507 GB, free: 7.414 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/0.5516, allocations: 0.6306 MB / 1.508 GB, free: 6.781 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.5561, allocations: 3.386 MB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.5562, allocations: 131.4 kB / 1.511 GB, free: 3.234 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.5564, allocations: 164 kB / 1.511 GB, free: 3.074 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/0.5603, allocations: 2.721 MB / 1.514 GB, free: 120 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.5603, allocations: 0 / 1.514 GB, free: 120 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.5605, allocations: 79.98 kB / 1.514 GB, free: 40 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.5605, allocations: 47.97 kB / 1.514 GB, free: 15.99 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003677/0.5642, allocations: 2.062 MB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009405/0.5736, allocations: 5.12 MB / 1.521 GB, free: 8.719 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.5769, allocations: 1.745 MB / 1.523 GB, free: 6.977 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.5783, allocations: 0.7177 MB / 1.523 GB, free: 6.25 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.5787, allocations: 113.2 kB / 1.523 GB, free: 6.141 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.5809, allocations: 1.62 MB / 1.525 GB, free: 4.352 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.567e-06/0.5809, allocations: 0 / 1.525 GB, free: 4.352 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007093/0.588, allocations: 2.636 MB / 1.528 GB, free: 1.695 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.5882, allocations: 197.2 kB / 1.528 GB, free: 1.461 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/0.5938, allocations: 4.134 MB / 1.532 GB, free: 13.32 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003741/0.5942, allocations: 61.7 kB / 1.532 GB, free: 13.26 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/0.5952, allocations: 0.9194 MB / 1.533 GB, free: 12.33 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/0.5959, allocations: 0.4919 MB / 1.533 GB, free: 11.83 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.5963, allocations: 238.8 kB / 1.533 GB, free: 11.59 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5965, allocations: 353.9 kB / 1.534 GB, free: 11.24 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.5977, allocations: 0.5882 MB / 1.534 GB, free: 10.65 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.5994, allocations: 1.228 MB / 1.536 GB, free: 9.258 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.6019, allocations: 1.341 MB / 1.537 GB, free: 7.906 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6019, allocations: 0 / 1.537 GB, free: 7.906 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004244/0.6061, allocations: 1.808 MB / 1.539 GB, free: 6.074 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6062, allocations: 4 kB / 1.539 GB, free: 6.07 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6062, allocations: 4 kB / 1.539 GB, free: 6.066 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.6072, allocations: 212.1 kB / 1.539 GB, free: 5.844 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.6088, allocations: 327.6 kB / 1.539 GB, free: 5.523 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006705/0.6155, allocations: 6.797 MB / 1.546 GB, free: 14.15 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.617, allocations: 164.7 kB / 1.546 GB, free: 13.99 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.6171, allocations: 51.97 kB / 1.546 GB, free: 13.94 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.0009374/0.618, allocations: 493.5 kB / 1.546 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.6184, allocations: 206.6 kB / 1.547 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/0.6231, allocations: 2.162 MB / 1.549 GB, free: 11.05 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.6231, allocations: 19.94 kB / 1.549 GB, free: 11.03 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6231, allocations: 0 / 1.549 GB, free: 11.03 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.6231, allocations: 11.97 kB / 1.549 GB, free: 11.02 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007268/0.6304, allocations: 3.84 MB / 1.553 GB, free: 7.117 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.6304, allocations: 3.938 kB / 1.553 GB, free: 7.113 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.6318, allocations: 323.5 kB / 1.553 GB, free: 6.797 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000851/0.6327, allocations: 196.1 kB / 1.553 GB, free: 6.59 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.652e-05/0.6328, allocations: 39.97 kB / 1.553 GB, free: 6.551 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006173/0.639, allocations: 6.823 MB / 1.56 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.639, allocations: 4.031 kB / 1.56 GB, free: 15.13 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/0.6432, allocations: 2.037 MB / 1.562 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.6443, allocations: 462 kB / 1.562 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.6445, allocations: 28 kB / 1.562 GB, free: 12.58 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.6457, allocations: 113.4 kB / 1.562 GB, free: 12.47 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.646, allocations: 121.1 kB / 1.562 GB, free: 12.35 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.6461, allocations: 71.94 kB / 1.563 GB, free: 12.28 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00359/0.6497, allocations: 3.161 MB / 1.566 GB, free: 9.125 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.6497, allocations: 0 / 1.566 GB, free: 9.125 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001729/0.6514, allocations: 0.6976 MB / 1.566 GB, free: 8.426 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.006682/0.6581, allocations: 3.282 MB / 1.569 GB, free: 5.32 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003638/0.6618, allocations: 2.023 MB / 1.571 GB, free: 3.23 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6618, allocations: 0.6562 kB / 1.571 GB, free: 3.23 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.664, allocations: 1.368 MB / 1.573 GB, free: 1.801 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.6665, allocations: 0.5569 MB / 1.573 GB, free: 1.262 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/0.698, allocations: 21.24 MB / 1.594 GB, free: 11.79 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.6991, allocations: 0.9711 MB / 1.595 GB, free: 10.77 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001721/0.7008, allocations: 0.529 MB / 1.596 GB, free: 10.24 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/0.7021, allocations: 0.9171 MB / 1.596 GB, free: 9.32 MB / 1.295 GB Notification: Performance of SimCode: time 6.71e-07/0.7021, allocations: 3.938 kB / 1.596 GB, free: 9.316 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6401/1.342, allocations: 53.45 MB / 1.649 GB, free: 257.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.88, allocations: 11.31 kB / 1.649 GB, free: 257.9 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: 22.191327204927802]