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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.005329/0.005329, allocations: 96.7 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.001665/0.001665, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.673/2.673, allocations: 469.4 MB / 0.7422 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2583, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6942/0.9525, allocations: 168.4 MB / 1.384 GB, free: 2.309 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.9744, allocations: 17.36 MB / 1.401 GB, free: 4.309 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.976, allocations: 31.66 kB / 1.401 GB, free: 4.297 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.9779, allocations: 0.5869 MB / 1.402 GB, free: 3.801 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.983, allocations: 1.817 MB / 1.404 GB, free: 2.441 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003608/0.9867, allocations: 1.445 MB / 1.405 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003794/0.9905, allocations: 2.901 MB / 1.408 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.9933, allocations: 1.951 MB / 1.41 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.9973, allocations: 1.473 MB / 1.411 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.9991, allocations: 1.123 MB / 1.412 GB, free: 12.75 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006091/0.9997, allocations: 222.2 kB / 1.412 GB, free: 12.75 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/1.003, allocations: 1.556 MB / 1.414 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008989/1.004, allocations: 0.806 MB / 1.415 GB, free: 11.44 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001907/1.006, allocations: 1.284 MB / 1.416 GB, free: 10.53 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005239/1.011, allocations: 3.763 MB / 1.42 GB, free: 7.941 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/1.011, allocations: 0 / 1.42 GB, free: 7.941 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.734e-06/1.011, allocations: 2.719 kB / 1.42 GB, free: 7.941 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001062/1.011, allocations: 0 / 1.42 GB, free: 7.941 MB / 1.107 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.006172/1.017, allocations: 3.022 MB / 1.423 GB, free: 5.711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.018, allocations: 7.781 kB / 1.423 GB, free: 5.711 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004234/1.018, allocations: 255.6 kB / 1.423 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00404/1.022, allocations: 0.5832 MB / 1.423 GB, free: 5.23 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/1.027, allocations: 3.444 MB / 1.427 GB, free: 1.906 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-05/1.027, allocations: 139.3 kB / 1.427 GB, free: 1.77 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.027, allocations: 168 kB / 1.427 GB, free: 1.605 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/1.03, allocations: 1.956 MB / 1.429 GB, free: 15.6 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/1.03, allocations: 0 / 1.429 GB, free: 15.6 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/1.03, allocations: 79.98 kB / 1.429 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/1.031, allocations: 40 kB / 1.429 GB, free: 15.48 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/1.034, allocations: 2.113 MB / 1.431 GB, free: 13.36 MB / 1.123 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.01013/1.044, allocations: 6.717 MB / 1.438 GB, free: 6.305 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/1.048, allocations: 2.132 MB / 1.44 GB, free: 4.098 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/1.049, allocations: 0.7769 MB / 1.441 GB, free: 3.316 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005826/1.05, allocations: 437.6 kB / 1.441 GB, free: 2.812 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/1.052, allocations: 1.013 MB / 1.442 GB, free: 1.781 MB / 1.123 GB Notification: Performance of pre-optimization done (n=146): time 3.788e-06/1.052, allocations: 0 / 1.442 GB, free: 1.781 MB / 1.123 GB Notification: Performance of matching and sorting (n=146): time 0.007176/1.059, allocations: 3.013 MB / 1.445 GB, free: 14.66 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/1.059, allocations: 205.2 kB / 1.445 GB, free: 14.41 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/1.064, allocations: 4.09 MB / 1.449 GB, free: 10.32 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/1.064, allocations: 61.7 kB / 1.449 GB, free: 10.25 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007496/1.065, allocations: 0.9077 MB / 1.45 GB, free: 9.332 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/1.065, allocations: 0.4957 MB / 1.451 GB, free: 8.832 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004077/1.065, allocations: 242.8 kB / 1.451 GB, free: 8.59 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.066, allocations: 357.9 kB / 1.451 GB, free: 8.234 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/1.067, allocations: 0.5803 MB / 1.452 GB, free: 7.652 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/1.068, allocations: 0.8145 MB / 1.453 GB, free: 6.781 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/1.071, allocations: 1.333 MB / 1.454 GB, free: 5.434 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.071, allocations: 0 / 1.454 GB, free: 5.434 MB / 1.139 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004148/1.075, allocations: 1.816 MB / 1.456 GB, free: 3.594 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.075, allocations: 5.719 kB / 1.456 GB, free: 3.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.075, allocations: 0 / 1.456 GB, free: 3.59 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.076, allocations: 208.1 kB / 1.456 GB, free: 3.371 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.078, allocations: 331.6 kB / 1.456 GB, free: 3.047 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/1.084, allocations: 7.325 MB / 1.463 GB, free: 11.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/1.085, allocations: 175.1 kB / 1.463 GB, free: 10.85 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/1.085, allocations: 51.95 kB / 1.463 GB, free: 10.8 MB / 1.154 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.000953/1.086, allocations: 497.4 kB / 1.464 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005341/1.087, allocations: 202.7 kB / 1.464 GB, free: 10.1 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/1.092, allocations: 2.165 MB / 1.466 GB, free: 7.906 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.092, allocations: 20 kB / 1.466 GB, free: 7.887 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.092, allocations: 0 / 1.466 GB, free: 7.887 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.092, allocations: 11.97 kB / 1.466 GB, free: 7.875 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007497/1.099, allocations: 4.133 MB / 1.47 GB, free: 3.668 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.099, allocations: 0 / 1.47 GB, free: 3.668 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.101, allocations: 323.5 kB / 1.471 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008983/1.102, allocations: 196.1 kB / 1.471 GB, free: 3.145 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.102, allocations: 43.95 kB / 1.471 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005661/1.108, allocations: 7.359 MB / 1.478 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.108, allocations: 0 / 1.478 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/1.112, allocations: 2.037 MB / 1.48 GB, free: 8.961 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.113, allocations: 0.5226 MB / 1.481 GB, free: 8.418 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/1.114, allocations: 31.98 kB / 1.481 GB, free: 8.387 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.115, allocations: 113.3 kB / 1.481 GB, free: 8.277 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/1.115, allocations: 113.2 kB / 1.481 GB, free: 8.168 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/1.115, allocations: 71.88 kB / 1.481 GB, free: 8.098 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003451/1.119, allocations: 3.156 MB / 1.484 GB, free: 4.949 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.31e-07/1.119, allocations: 0 / 1.484 GB, free: 4.949 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001919/1.121, allocations: 0.6899 MB / 1.485 GB, free: 4.258 MB / 1.17 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.006193/1.127, allocations: 3.256 MB / 1.488 GB, free: 1.152 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003561/1.131, allocations: 2.078 MB / 1.49 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.131, allocations: 4.625 kB / 1.49 GB, free: 15 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/1.133, allocations: 1.426 MB / 1.491 GB, free: 13.51 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.136, allocations: 0.5622 MB / 1.492 GB, free: 12.97 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03066/1.166, allocations: 21.18 MB / 1.512 GB, free: 7.555 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.168, allocations: 1.533 MB / 1.514 GB, free: 5.988 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001847/1.169, allocations: 0.5289 MB / 1.514 GB, free: 5.453 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.171, allocations: 0.9093 MB / 1.515 GB, free: 4.547 MB / 1.201 GB Notification: Performance of SimCode: time 7.12e-07/1.171, allocations: 0 / 1.515 GB, free: 4.547 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09296/1.264, allocations: 49.59 MB / 1.564 GB, free: 3.488 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.85, allocations: 0 / 1.564 GB, free: 3.488 MB / 1.248 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 50 --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