Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_10_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.006167/0.006167, allocations: 105 kB / 15.73 MB, free: 6.043 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.001494/0.001494, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.1 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2391, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6803/0.9194, allocations: 168.5 MB / 1.331 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02092/0.9404, allocations: 17.37 MB / 1.348 GB, free: 6.219 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.9418, allocations: 34.62 kB / 1.348 GB, free: 6.203 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.9435, allocations: 0.5687 MB / 1.348 GB, free: 5.859 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.9483, allocations: 1.779 MB / 1.35 GB, free: 4.883 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.9516, allocations: 1.446 MB / 1.351 GB, free: 4.105 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003251/0.9549, allocations: 2.895 MB / 1.354 GB, free: 2.688 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.9574, allocations: 1.944 MB / 1.356 GB, free: 1.746 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003641/0.961, allocations: 1.426 MB / 1.357 GB, free: 1.121 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.9627, allocations: 1.124 MB / 1.359 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/0.9632, allocations: 222.5 kB / 1.359 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.9661, allocations: 1.556 MB / 1.36 GB, free: 80 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008363/0.9669, allocations: 0.8002 MB / 1.361 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.9687, allocations: 1.292 MB / 1.362 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004481/0.9732, allocations: 3.742 MB / 1.366 GB, free: 12.56 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.9732, allocations: 0 / 1.366 GB, free: 12.56 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9732, allocations: 0 / 1.366 GB, free: 12.56 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.011e-05/0.9733, allocations: 0 / 1.366 GB, free: 12.56 MB / 1.045 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.005459/0.9788, allocations: 2.938 MB / 1.369 GB, free: 10.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.9788, allocations: 8.344 kB / 1.369 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002799/0.9791, allocations: 249.5 kB / 1.369 GB, free: 10.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.9828, allocations: 0.5664 MB / 1.37 GB, free: 9.961 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.9867, allocations: 3.441 MB / 1.373 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.9868, allocations: 130 kB / 1.373 GB, free: 8.023 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.987, allocations: 167.3 kB / 1.373 GB, free: 7.973 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.99, allocations: 1.965 MB / 1.375 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.9901, allocations: 0 / 1.375 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.9903, allocations: 73.38 kB / 1.375 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.9903, allocations: 44.12 kB / 1.375 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/0.9937, allocations: 2.117 MB / 1.377 GB, free: 5.801 MB / 1.045 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.00895/1.003, allocations: 6.696 MB / 1.384 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.006, allocations: 2.135 MB / 1.386 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/1.007, allocations: 0.7744 MB / 1.387 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005396/1.008, allocations: 437 kB / 1.387 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00165/1.009, allocations: 1.019 MB / 1.388 GB, free: 14.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/1.009, allocations: 0 / 1.388 GB, free: 14.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.006622/1.016, allocations: 3.005 MB / 1.391 GB, free: 12.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/1.016, allocations: 201 kB / 1.391 GB, free: 12.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/1.021, allocations: 4.098 MB / 1.395 GB, free: 9.355 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/1.021, allocations: 57.7 kB / 1.395 GB, free: 9.293 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000668/1.022, allocations: 0.8908 MB / 1.396 GB, free: 8.391 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/1.022, allocations: 481 kB / 1.397 GB, free: 7.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/1.022, allocations: 238.8 kB / 1.397 GB, free: 7.676 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.022, allocations: 357.9 kB / 1.397 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.024, allocations: 0.5882 MB / 1.398 GB, free: 6.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/1.025, allocations: 0.8086 MB / 1.399 GB, free: 5.859 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/1.027, allocations: 1.333 MB / 1.4 GB, free: 4.516 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.028, allocations: 4 kB / 1.4 GB, free: 4.512 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003932/1.031, allocations: 1.803 MB / 1.402 GB, free: 2.684 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.031, allocations: 7.984 kB / 1.402 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.031, allocations: 4 kB / 1.402 GB, free: 2.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.033, allocations: 204.2 kB / 1.402 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/1.034, allocations: 327.5 kB / 1.402 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/1.04, allocations: 7.328 MB / 1.409 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.041, allocations: 174.8 kB / 1.41 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.041, allocations: 47.97 kB / 1.41 GB, free: 9.895 MB / 1.076 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.0007228/1.042, allocations: 489.4 kB / 1.41 GB, free: 9.406 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/1.043, allocations: 189.7 kB / 1.41 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/1.047, allocations: 2.161 MB / 1.412 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.047, allocations: 16 kB / 1.412 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.047, allocations: 4 kB / 1.412 GB, free: 7.008 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.047, allocations: 7.969 kB / 1.412 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006912/1.054, allocations: 4.14 MB / 1.416 GB, free: 2.781 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.054, allocations: 0 / 1.416 GB, free: 2.781 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/1.056, allocations: 319.6 kB / 1.417 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008892/1.057, allocations: 208 kB / 1.417 GB, free: 2.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.057, allocations: 39.97 kB / 1.417 GB, free: 2.211 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/1.062, allocations: 7.355 MB / 1.424 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.062, allocations: 0 / 1.424 GB, free: 10.15 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/1.066, allocations: 2.028 MB / 1.426 GB, free: 8.082 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/1.067, allocations: 0.5138 MB / 1.427 GB, free: 7.547 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/1.068, allocations: 28 kB / 1.427 GB, free: 7.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.069, allocations: 112.2 kB / 1.427 GB, free: 7.414 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/1.069, allocations: 121.1 kB / 1.427 GB, free: 7.297 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.069, allocations: 67.95 kB / 1.427 GB, free: 7.23 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003094/1.072, allocations: 3.145 MB / 1.43 GB, free: 4.094 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/1.072, allocations: 0 / 1.43 GB, free: 4.094 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001671/1.074, allocations: 0.6937 MB / 1.431 GB, free: 3.398 MB / 1.092 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.005989/1.08, allocations: 3.226 MB / 1.434 GB, free: 328 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003413/1.084, allocations: 2.074 MB / 1.436 GB, free: 14.18 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/1.084, allocations: 8.5 kB / 1.436 GB, free: 14.17 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/1.086, allocations: 1.426 MB / 1.437 GB, free: 12.68 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/1.088, allocations: 0.5573 MB / 1.438 GB, free: 12.15 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/1.117, allocations: 21.1 MB / 1.458 GB, free: 6.805 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/1.118, allocations: 1.537 MB / 1.46 GB, free: 5.234 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001558/1.119, allocations: 0.5289 MB / 1.46 GB, free: 4.699 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.121, allocations: 0.9054 MB / 1.461 GB, free: 3.793 MB / 1.123 GB Notification: Performance of SimCode: time 4.41e-07/1.121, allocations: 0 / 1.461 GB, free: 3.793 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08691/1.207, allocations: 49.6 MB / 1.51 GB, free: 2.707 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.91, allocations: 15.05 kB / 1.51 GB, free: 2.695 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches