Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_11_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.005149/0.005149, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001523/0.001523, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 64.11 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6316/0.6335, allocations: 159.1 MB / 1.22 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1854/0.8189, allocations: 168.5 MB / 1.385 GB, free: 8.961 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.8421, allocations: 17.36 MB / 1.402 GB, free: 7.547 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.8434, allocations: 31.81 kB / 1.402 GB, free: 7.516 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.8451, allocations: 0.57 MB / 1.402 GB, free: 6.941 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.8499, allocations: 1.786 MB / 1.404 GB, free: 5.156 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003434/0.8533, allocations: 1.443 MB / 1.405 GB, free: 3.727 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.8569, allocations: 2.898 MB / 1.408 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.8595, allocations: 1.94 MB / 1.41 GB, free: 14.81 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.8633, allocations: 1.434 MB / 1.411 GB, free: 13.42 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.8646, allocations: 1.116 MB / 1.413 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003281/0.865, allocations: 224 kB / 1.413 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/0.8677, allocations: 1.556 MB / 1.414 GB, free: 10.52 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.8685, allocations: 0.8062 MB / 1.415 GB, free: 9.715 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.8697, allocations: 1.286 MB / 1.416 GB, free: 8.422 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/0.8739, allocations: 3.752 MB / 1.42 GB, free: 4.656 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8739, allocations: 3.984 kB / 1.42 GB, free: 4.652 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8739, allocations: 0 / 1.42 GB, free: 4.652 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.075e-05/0.874, allocations: 0 / 1.42 GB, free: 4.652 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.004792/0.8788, allocations: 3.028 MB / 1.423 GB, free: 1.559 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.8788, allocations: 8.031 kB / 1.423 GB, free: 1.551 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/0.8791, allocations: 244.9 kB / 1.423 GB, free: 1.301 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/0.8829, allocations: 0.5954 MB / 1.424 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004052/0.8869, allocations: 3.446 MB / 1.427 GB, free: 13.21 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.887, allocations: 127.4 kB / 1.427 GB, free: 13.08 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.8873, allocations: 172 kB / 1.427 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003454/0.8907, allocations: 1.964 MB / 1.429 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.8908, allocations: 3.938 kB / 1.429 GB, free: 10.89 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.891, allocations: 72 kB / 1.429 GB, free: 10.82 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.891, allocations: 44 kB / 1.429 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.8949, allocations: 2.117 MB / 1.432 GB, free: 8.66 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00942/0.9044, allocations: 6.715 MB / 1.438 GB, free: 1.605 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0037/0.9081, allocations: 2.137 MB / 1.44 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.9095, allocations: 0.7802 MB / 1.441 GB, free: 14.61 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.9101, allocations: 433.5 kB / 1.441 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/0.912, allocations: 1.017 MB / 1.442 GB, free: 13.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 2.855e-06/0.9121, allocations: 0 / 1.442 GB, free: 13.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.007235/0.9193, allocations: 3.013 MB / 1.445 GB, free: 9.949 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.9194, allocations: 197.2 kB / 1.445 GB, free: 9.711 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004735/0.9242, allocations: 4.102 MB / 1.449 GB, free: 5.605 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.9243, allocations: 57.7 kB / 1.45 GB, free: 5.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007922/0.9251, allocations: 0.9115 MB / 1.45 GB, free: 4.621 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004302/0.9256, allocations: 0.4919 MB / 1.451 GB, free: 4.125 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004173/0.926, allocations: 246.8 kB / 1.451 GB, free: 3.879 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.9261, allocations: 353.9 kB / 1.451 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.9274, allocations: 0.5804 MB / 1.452 GB, free: 2.945 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.9289, allocations: 0.8125 MB / 1.453 GB, free: 2.074 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.9316, allocations: 1.337 MB / 1.454 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9316, allocations: 0 / 1.454 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004168/0.9358, allocations: 1.804 MB / 1.456 GB, free: 14.89 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9358, allocations: 8 kB / 1.456 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9359, allocations: 64 / 1.456 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.937, allocations: 212.1 kB / 1.456 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.9386, allocations: 335.5 kB / 1.456 GB, free: 14.33 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006839/0.9455, allocations: 7.321 MB / 1.464 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.9468, allocations: 167.1 kB / 1.464 GB, free: 6.141 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.9469, allocations: 51.97 kB / 1.464 GB, free: 6.09 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.0007616/0.9477, allocations: 497.3 kB / 1.464 GB, free: 5.594 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/0.9481, allocations: 206.7 kB / 1.464 GB, free: 5.391 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/0.9529, allocations: 2.165 MB / 1.467 GB, free: 3.195 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.953, allocations: 16 kB / 1.467 GB, free: 3.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.953, allocations: 3.938 kB / 1.467 GB, free: 3.176 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.953, allocations: 7.969 kB / 1.467 GB, free: 3.168 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/0.9603, allocations: 4.141 MB / 1.471 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.9603, allocations: 3.984 kB / 1.471 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.9619, allocations: 315.6 kB / 1.471 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009616/0.9629, allocations: 200.1 kB / 1.471 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.963, allocations: 39.97 kB / 1.471 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00659/0.9696, allocations: 7.355 MB / 1.478 GB, free: 6.328 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9696, allocations: 4.094 kB / 1.478 GB, free: 6.324 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004457/0.9741, allocations: 2.041 MB / 1.48 GB, free: 4.246 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/0.975, allocations: 0.5187 MB / 1.481 GB, free: 3.707 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/0.9753, allocations: 32 kB / 1.481 GB, free: 3.676 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.9767, allocations: 115.9 kB / 1.481 GB, free: 3.562 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.977, allocations: 113.1 kB / 1.481 GB, free: 3.453 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/0.9771, allocations: 75.94 kB / 1.481 GB, free: 3.379 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003632/0.9808, allocations: 3.145 MB / 1.484 GB, free: 248 kB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9808, allocations: 0 / 1.484 GB, free: 248 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.001724/0.9825, allocations: 0.6976 MB / 1.485 GB, free: 15.54 MB / 1.217 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.00696/0.9895, allocations: 3.248 MB / 1.488 GB, free: 12.45 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003774/0.9933, allocations: 2.074 MB / 1.49 GB, free: 10.3 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.9933, allocations: 4.625 kB / 1.49 GB, free: 10.3 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.9956, allocations: 1.426 MB / 1.492 GB, free: 8.809 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.998, allocations: 0.5583 MB / 1.492 GB, free: 8.277 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03208/1.03, allocations: 21.18 MB / 1.513 GB, free: 2.863 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.031, allocations: 1.545 MB / 1.514 GB, free: 1.285 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001662/1.033, allocations: 0.5212 MB / 1.515 GB, free: 0.7578 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.034, allocations: 0.9132 MB / 1.516 GB, free: 15.85 MB / 1.248 GB Notification: Performance of SimCode: time 7.72e-07/1.034, allocations: 0 / 1.516 GB, free: 15.85 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5843/1.619, allocations: 49.57 MB / 1.564 GB, free: 332.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.24/16.85, allocations: 4.156 kB / 1.564 GB, free: 332.9 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches