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) 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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004335/0.004335, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001274/0.001274, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.754/2.754, allocations: 482.4 MB / 0.7548 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 64.56 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2744, allocations: 162.2 MB / 1.241 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1858/0.4602, allocations: 168.5 MB / 1.406 GB, free: 120 kB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02202/0.4823, allocations: 17.36 MB / 1.423 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.4834, allocations: 31.81 kB / 1.423 GB, free: 14.67 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.4848, allocations: 0.5661 MB / 1.424 GB, free: 14.1 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.4892, allocations: 1.79 MB / 1.425 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.4924, allocations: 1.44 MB / 1.427 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003061/0.4954, allocations: 2.883 MB / 1.43 GB, free: 7.984 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.4978, allocations: 1.94 MB / 1.431 GB, free: 5.984 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.5014, allocations: 1.426 MB / 1.433 GB, free: 4.598 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.5027, allocations: 1.116 MB / 1.434 GB, free: 3.477 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.503, allocations: 224 kB / 1.434 GB, free: 3.258 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.5059, allocations: 1.556 MB / 1.436 GB, free: 1.699 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007399/0.5066, allocations: 0.8023 MB / 1.436 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.5079, allocations: 1.286 MB / 1.438 GB, free: 15.6 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.5122, allocations: 3.763 MB / 1.441 GB, free: 11.82 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5122, allocations: 0 / 1.441 GB, free: 11.82 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5122, allocations: 0 / 1.441 GB, free: 11.82 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.21e-05/0.5123, allocations: 0 / 1.441 GB, free: 11.82 MB / 1.17 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.004828/0.5171, allocations: 3.024 MB / 1.444 GB, free: 8.734 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5171, allocations: 8.031 kB / 1.444 GB, free: 8.727 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/0.5175, allocations: 248.9 kB / 1.445 GB, free: 8.473 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/0.5212, allocations: 0.5799 MB / 1.445 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004138/0.5253, allocations: 3.462 MB / 1.448 GB, free: 4.375 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5255, allocations: 123.4 kB / 1.449 GB, free: 4.254 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/0.5257, allocations: 172 kB / 1.449 GB, free: 4.086 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.5291, allocations: 1.964 MB / 1.451 GB, free: 2.07 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.5292, allocations: 3.984 kB / 1.451 GB, free: 2.066 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.5294, allocations: 75.98 kB / 1.451 GB, free: 1.992 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.5294, allocations: 43.94 kB / 1.451 GB, free: 1.949 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003854/0.5333, allocations: 2.113 MB / 1.453 GB, free: 15.83 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009438/0.5427, allocations: 6.914 MB / 1.46 GB, free: 8.527 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/0.5464, allocations: 2.131 MB / 1.462 GB, free: 6.32 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.5479, allocations: 0.7802 MB / 1.462 GB, free: 5.539 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/0.5485, allocations: 425.6 kB / 1.463 GB, free: 5.047 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.5504, allocations: 1.023 MB / 1.464 GB, free: 4.008 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/0.5504, allocations: 4 kB / 1.464 GB, free: 4.004 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007215/0.5576, allocations: 3.005 MB / 1.467 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.5577, allocations: 197.2 kB / 1.467 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00474/0.5625, allocations: 4.102 MB / 1.471 GB, free: 12.54 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.5627, allocations: 57.7 kB / 1.471 GB, free: 12.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008293/0.5635, allocations: 0.9077 MB / 1.472 GB, free: 11.56 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.5639, allocations: 0.4918 MB / 1.472 GB, free: 11.07 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004225/0.5644, allocations: 242.8 kB / 1.473 GB, free: 10.82 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5645, allocations: 353.9 kB / 1.473 GB, free: 10.47 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.5658, allocations: 0.5804 MB / 1.474 GB, free: 9.891 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.5673, allocations: 0.8086 MB / 1.474 GB, free: 9.023 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.57, allocations: 1.337 MB / 1.476 GB, free: 7.672 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.57, allocations: 4 kB / 1.476 GB, free: 7.668 MB / 1.201 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004298/0.5743, allocations: 1.808 MB / 1.477 GB, free: 5.836 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5743, allocations: 11.94 kB / 1.477 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5743, allocations: 0 / 1.477 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.5754, allocations: 208.2 kB / 1.478 GB, free: 5.605 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.5771, allocations: 327.5 kB / 1.478 GB, free: 5.285 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.5838, allocations: 7.338 MB / 1.485 GB, free: 13.24 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.5852, allocations: 168.9 kB / 1.485 GB, free: 13.08 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.5854, allocations: 51.97 kB / 1.485 GB, free: 13.03 MB / 1.217 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.0008846/0.5863, allocations: 489.5 kB / 1.486 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.5866, allocations: 214.6 kB / 1.486 GB, free: 12.33 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/0.5915, allocations: 2.154 MB / 1.488 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.5915, allocations: 16 kB / 1.488 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5915, allocations: 0 / 1.488 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.5916, allocations: 7.969 kB / 1.488 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/0.5988, allocations: 4.146 MB / 1.492 GB, free: 5.902 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.5988, allocations: 3.938 kB / 1.492 GB, free: 5.898 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.6003, allocations: 315.6 kB / 1.492 GB, free: 5.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009253/0.6013, allocations: 208 kB / 1.493 GB, free: 5.371 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.6014, allocations: 39.97 kB / 1.493 GB, free: 5.332 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/0.608, allocations: 7.36 MB / 1.5 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.608, allocations: 0 / 1.5 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/0.6127, allocations: 2.037 MB / 1.502 GB, free: 11.19 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.6135, allocations: 0.5187 MB / 1.502 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.6138, allocations: 32 kB / 1.502 GB, free: 10.62 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/0.6151, allocations: 110.7 kB / 1.503 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/0.6154, allocations: 117.1 kB / 1.503 GB, free: 10.4 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.6155, allocations: 71.95 kB / 1.503 GB, free: 10.33 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003536/0.6191, allocations: 3.145 MB / 1.506 GB, free: 7.191 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6191, allocations: 4 kB / 1.506 GB, free: 7.188 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001651/0.6207, allocations: 0.7015 MB / 1.506 GB, free: 6.484 MB / 1.232 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.006832/0.6276, allocations: 3.243 MB / 1.51 GB, free: 3.391 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003743/0.6313, allocations: 2.074 MB / 1.512 GB, free: 1.25 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6314, allocations: 4.5 kB / 1.512 GB, free: 1.246 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.6336, allocations: 1.43 MB / 1.513 GB, free: 15.75 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.636, allocations: 0.5578 MB / 1.514 GB, free: 15.21 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03174/0.6678, allocations: 21.18 MB / 1.534 GB, free: 9.793 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.6691, allocations: 1.533 MB / 1.536 GB, free: 8.227 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001743/0.6709, allocations: 0.529 MB / 1.536 GB, free: 7.691 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.6722, allocations: 0.9054 MB / 1.537 GB, free: 6.785 MB / 1.264 GB Notification: Performance of SimCode: time 4.81e-07/0.6722, allocations: 0 / 1.537 GB, free: 6.785 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5813/1.254, allocations: 49.58 MB / 1.586 GB, free: 280.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.46, allocations: 7.75 kB / 1.586 GB, free: 280.4 MB / 1.264 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv","/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) Reference file matches