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.005064/0.005064, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001399/0.001399, allocations: 202.3 kB / 16.68 MB, free: 5.961 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.55/2.55, allocations: 482.6 MB / 0.755 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 67.83 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2629, allocations: 162.3 MB / 1.242 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.627/0.89, allocations: 168.5 MB / 1.406 GB, free: 7.059 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.9094, allocations: 17.36 MB / 1.423 GB, free: 9.035 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.9103, allocations: 31.5 kB / 1.423 GB, free: 9.023 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.9116, allocations: 0.5756 MB / 1.424 GB, free: 8.531 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.9154, allocations: 1.783 MB / 1.426 GB, free: 7.195 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.9181, allocations: 1.443 MB / 1.427 GB, free: 6.113 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.9206, allocations: 2.9 MB / 1.43 GB, free: 4.367 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.9225, allocations: 1.94 MB / 1.432 GB, free: 3.082 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003043/0.9256, allocations: 1.422 MB / 1.433 GB, free: 2.301 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.9267, allocations: 1.112 MB / 1.434 GB, free: 1.555 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.927, allocations: 221.8 kB / 1.435 GB, free: 1.555 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.9294, allocations: 1.558 MB / 1.436 GB, free: 208 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006574/0.9301, allocations: 0.8023 MB / 1.437 GB, free: 15.4 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.9311, allocations: 1.286 MB / 1.438 GB, free: 14.11 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.9349, allocations: 3.764 MB / 1.442 GB, free: 10.33 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.9349, allocations: 4 kB / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9349, allocations: 0 / 1.442 GB, free: 10.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.9349, allocations: 0 / 1.442 GB, free: 10.32 MB / 1.139 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.004277/0.9392, allocations: 3.02 MB / 1.445 GB, free: 7.238 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.9392, allocations: 8.031 kB / 1.445 GB, free: 7.23 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.9395, allocations: 252.9 kB / 1.445 GB, free: 6.973 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.9427, allocations: 0.5838 MB / 1.446 GB, free: 6.387 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.9463, allocations: 3.458 MB / 1.449 GB, free: 2.879 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.9465, allocations: 127.4 kB / 1.449 GB, free: 2.754 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.9467, allocations: 172 kB / 1.449 GB, free: 2.586 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/0.9497, allocations: 1.956 MB / 1.451 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.9497, allocations: 0 / 1.451 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.9499, allocations: 75.98 kB / 1.451 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.9499, allocations: 44 kB / 1.451 GB, free: 472 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.9533, allocations: 2.109 MB / 1.453 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008279/0.9616, allocations: 6.922 MB / 1.46 GB, free: 7.035 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.9649, allocations: 2.135 MB / 1.462 GB, free: 4.816 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.9662, allocations: 0.7763 MB / 1.463 GB, free: 4.039 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005537/0.9668, allocations: 437.6 kB / 1.463 GB, free: 3.535 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/0.9685, allocations: 1.015 MB / 1.464 GB, free: 2.504 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 2.424e-06/0.9685, allocations: 0 / 1.464 GB, free: 2.504 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006355/0.9748, allocations: 3.001 MB / 1.467 GB, free: 15.39 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.975, allocations: 201.2 kB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004169/0.9791, allocations: 4.098 MB / 1.471 GB, free: 11.05 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.9793, allocations: 61.7 kB / 1.471 GB, free: 10.98 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007006/0.98, allocations: 0.9077 MB / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.9803, allocations: 0.4919 MB / 1.473 GB, free: 9.566 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.9807, allocations: 242.8 kB / 1.473 GB, free: 9.324 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9809, allocations: 357.8 kB / 1.473 GB, free: 8.969 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.982, allocations: 0.5881 MB / 1.474 GB, free: 8.379 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.9833, allocations: 0.8047 MB / 1.475 GB, free: 7.512 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.9857, allocations: 1.333 MB / 1.476 GB, free: 6.168 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9857, allocations: 0 / 1.476 GB, free: 6.168 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003632/0.9893, allocations: 1.816 MB / 1.478 GB, free: 4.328 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.9894, allocations: 8 kB / 1.478 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.9894, allocations: 0 / 1.478 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/0.9904, allocations: 212.1 kB / 1.478 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.9917, allocations: 331.6 kB / 1.478 GB, free: 3.773 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/0.9977, allocations: 7.333 MB / 1.486 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.9988, allocations: 163.2 kB / 1.486 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.999, allocations: 51.97 kB / 1.486 GB, free: 11.53 MB / 1.186 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.0006602/0.9996, allocations: 485.5 kB / 1.486 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/0.9999, allocations: 206.7 kB / 1.486 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004357/1.004, allocations: 2.165 MB / 1.489 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/1.004, allocations: 16 kB / 1.489 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.004, allocations: 0 / 1.489 GB, free: 8.629 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.004, allocations: 7.969 kB / 1.489 GB, free: 8.621 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/1.011, allocations: 4.142 MB / 1.493 GB, free: 4.402 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.011, allocations: 4 kB / 1.493 GB, free: 4.398 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.012, allocations: 319.6 kB / 1.493 GB, free: 4.086 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007905/1.013, allocations: 204 kB / 1.493 GB, free: 3.871 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/1.013, allocations: 39.97 kB / 1.493 GB, free: 3.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005837/1.019, allocations: 7.367 MB / 1.5 GB, free: 11.76 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.019, allocations: 3.938 kB / 1.5 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/1.023, allocations: 2.033 MB / 1.502 GB, free: 9.684 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/1.023, allocations: 0.5225 MB / 1.503 GB, free: 9.141 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.023, allocations: 28 kB / 1.503 GB, free: 9.113 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.025, allocations: 114.1 kB / 1.503 GB, free: 9.004 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/1.025, allocations: 113.1 kB / 1.503 GB, free: 8.895 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/1.025, allocations: 67.95 kB / 1.503 GB, free: 8.828 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003097/1.028, allocations: 3.149 MB / 1.506 GB, free: 5.688 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.028, allocations: 0 / 1.506 GB, free: 5.688 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00142/1.029, allocations: 0.6938 MB / 1.507 GB, free: 4.992 MB / 1.201 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.006078/1.036, allocations: 3.255 MB / 1.51 GB, free: 1.891 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003227/1.039, allocations: 2.074 MB / 1.512 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.039, allocations: 0.5625 kB / 1.512 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/1.041, allocations: 1.43 MB / 1.513 GB, free: 14.26 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.043, allocations: 0.5497 MB / 1.514 GB, free: 13.72 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.07, allocations: 21.18 MB / 1.535 GB, free: 8.297 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/1.071, allocations: 1.537 MB / 1.536 GB, free: 6.727 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001447/1.073, allocations: 0.5251 MB / 1.537 GB, free: 6.195 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.074, allocations: 0.9054 MB / 1.538 GB, free: 5.289 MB / 1.232 GB Notification: Performance of SimCode: time 3.3e-07/1.074, allocations: 0 / 1.538 GB, free: 5.289 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.251/7.325, allocations: 49.59 MB / 1.586 GB, free: 4.227 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.42/30.74, allocations: 15.84 kB / 1.586 GB, free: 4.211 MB / 1.279 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 & /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 --timeout=400 --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) 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) Reference file matches