Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_9_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.007463/0.007463, allocations: 101.8 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.001698/0.001698, allocations: 184.9 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.12 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2442, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1634/0.4077, allocations: 167.2 MB / 1.251 GB, free: 10.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5622/0.9699, allocations: 17.19 MB / 1.268 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.9711, allocations: 29.28 kB / 1.268 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.9725, allocations: 0.5312 MB / 1.268 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004232/0.9767, allocations: 1.684 MB / 1.27 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.9801, allocations: 1.433 MB / 1.271 GB, free: 2.699 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.9833, allocations: 2.685 MB / 1.274 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.9859, allocations: 1.999 MB / 1.276 GB, free: 2.465 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.99, allocations: 1.398 MB / 1.277 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.9918, allocations: 1.095 MB / 1.278 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003876/0.9922, allocations: 222.3 kB / 1.278 GB, free: 2.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.9953, allocations: 1.555 MB / 1.28 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.996, allocations: 0.8063 MB / 1.281 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.9974, allocations: 1.244 MB / 1.282 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004759/1.002, allocations: 3.675 MB / 1.285 GB, free: 1.742 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.002, allocations: 1.094 kB / 1.285 GB, free: 1.742 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/1.002, allocations: 1.188 kB / 1.285 GB, free: 1.742 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.832e-05/1.002, allocations: 0 / 1.285 GB, free: 1.742 MB / 1.014 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.005564/1.008, allocations: 2.908 MB / 1.288 GB, free: 364 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.008, allocations: 10.66 kB / 1.288 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003028/1.008, allocations: 250.8 kB / 1.289 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003902/1.012, allocations: 0.5695 MB / 1.289 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004511/1.017, allocations: 3.44 MB / 1.292 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.017, allocations: 130.9 kB / 1.293 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/1.017, allocations: 171.8 kB / 1.293 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/1.021, allocations: 1.953 MB / 1.295 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.034e-05/1.021, allocations: 0 / 1.295 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/1.021, allocations: 75.75 kB / 1.295 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/1.021, allocations: 44.72 kB / 1.295 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003557/1.024, allocations: 2.118 MB / 1.297 GB, free: 15.47 MB / 1.029 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.01105/1.036, allocations: 6.33 MB / 1.303 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/1.039, allocations: 2.136 MB / 1.305 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/1.041, allocations: 0.7718 MB / 1.306 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006118/1.042, allocations: 431.6 kB / 1.306 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001903/1.043, allocations: 1.018 MB / 1.307 GB, free: 12.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=146): time 4.448e-06/1.043, allocations: 1.125 kB / 1.307 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.00738/1.051, allocations: 2.993 MB / 1.31 GB, free: 12.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.051, allocations: 200.4 kB / 1.31 GB, free: 11.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004985/1.056, allocations: 4.101 MB / 1.314 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003067/1.056, allocations: 55.8 kB / 1.314 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000769/1.057, allocations: 0.8943 MB / 1.315 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/1.058, allocations: 489.5 kB / 1.316 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/1.058, allocations: 241.2 kB / 1.316 GB, free: 10.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.058, allocations: 354.7 kB / 1.316 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.059, allocations: 0.5882 MB / 1.317 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/1.061, allocations: 0.8087 MB / 1.318 GB, free: 10.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/1.063, allocations: 1.33 MB / 1.319 GB, free: 10.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.063, allocations: 0 / 1.319 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004102/1.067, allocations: 1.797 MB / 1.321 GB, free: 10.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.067, allocations: 7.625 kB / 1.321 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.067, allocations: 3.938 kB / 1.321 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/1.068, allocations: 210.3 kB / 1.321 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/1.07, allocations: 328.4 kB / 1.321 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/1.076, allocations: 7.319 MB / 1.328 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/1.078, allocations: 165.3 kB / 1.329 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/1.078, allocations: 55.59 kB / 1.329 GB, free: 3.207 MB / 1.029 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.001339/1.079, allocations: 0.4884 MB / 1.329 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007679/1.08, allocations: 193.8 kB / 1.329 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005016/1.085, allocations: 2.156 MB / 1.331 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.085, allocations: 15.44 kB / 1.331 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.085, allocations: 3.312 kB / 1.331 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/1.085, allocations: 8.344 kB / 1.331 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008112/1.093, allocations: 4.132 MB / 1.336 GB, free: 428 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/1.093, allocations: 4.281 kB / 1.336 GB, free: 428 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/1.095, allocations: 322.7 kB / 1.336 GB, free: 416 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009275/1.096, allocations: 198.6 kB / 1.336 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.096, allocations: 44.83 kB / 1.336 GB, free: 328 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00616/1.102, allocations: 7.36 MB / 1.343 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.102, allocations: 6.641 kB / 1.343 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/1.107, allocations: 2.025 MB / 1.345 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.109, allocations: 0.5081 MB / 1.346 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005139/1.109, allocations: 25.47 kB / 1.346 GB, free: 7.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.111, allocations: 117.5 kB / 1.346 GB, free: 7.91 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/1.111, allocations: 113.8 kB / 1.346 GB, free: 7.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.111, allocations: 73.5 kB / 1.346 GB, free: 7.875 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003317/1.115, allocations: 3.146 MB / 1.349 GB, free: 6.852 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.51e-07/1.115, allocations: 0.8438 kB / 1.349 GB, free: 6.852 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002187/1.117, allocations: 0.6778 MB / 1.35 GB, free: 6.68 MB / 1.045 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.006517/1.123, allocations: 3.214 MB / 1.353 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003595/1.127, allocations: 2.083 MB / 1.355 GB, free: 4.172 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.127, allocations: 4.547 kB / 1.355 GB, free: 4.168 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/1.129, allocations: 1.419 MB / 1.356 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.132, allocations: 0.5399 MB / 1.357 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03479/1.167, allocations: 21.26 MB / 1.378 GB, free: 5.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/1.169, allocations: 1.545 MB / 1.379 GB, free: 3.867 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002255/1.171, allocations: 0.5209 MB / 1.38 GB, free: 3.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001605/1.173, allocations: 0.9093 MB / 1.381 GB, free: 2.43 MB / 1.061 GB Notification: Performance of SimCode: time 1.062e-06/1.173, allocations: 0 / 1.381 GB, free: 2.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09487/1.268, allocations: 48.75 MB / 1.428 GB, free: 2.16 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/16.22, allocations: 11.94 kB / 1.428 GB, free: 2.148 MB / 1.107 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches