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.006962/0.006962, allocations: 95.42 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.001833/0.001833, allocations: 201.4 kB / 16.68 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.327/1.327, 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.521/2.521, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 60.08 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2406, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6731/0.9136, allocations: 168.5 MB / 1.331 GB, free: 2.668 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.9356, allocations: 17.36 MB / 1.348 GB, free: 6.273 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.9374, allocations: 30.59 kB / 1.348 GB, free: 6.262 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.9394, allocations: 0.5898 MB / 1.348 GB, free: 5.906 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005328/0.9447, allocations: 1.815 MB / 1.35 GB, free: 4.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.9483, allocations: 1.455 MB / 1.351 GB, free: 4.125 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003574/0.9519, allocations: 2.883 MB / 1.354 GB, free: 2.719 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.9544, allocations: 1.944 MB / 1.356 GB, free: 1.777 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.9579, allocations: 1.478 MB / 1.358 GB, free: 1.121 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.9591, allocations: 1.109 MB / 1.359 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.9594, allocations: 229.4 kB / 1.359 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.9622, allocations: 1.554 MB / 1.36 GB, free: 92 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006346/0.9628, allocations: 0.7982 MB / 1.361 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.964, allocations: 1.291 MB / 1.362 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.9682, allocations: 3.766 MB / 1.366 GB, free: 12.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.9682, allocations: 0 / 1.366 GB, free: 12.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9682, allocations: 0 / 1.366 GB, free: 12.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.979e-05/0.9682, allocations: 3.938 kB / 1.366 GB, free: 12.54 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.004567/0.9728, allocations: 3.023 MB / 1.369 GB, free: 10.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.9728, allocations: 10.81 kB / 1.369 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002803/0.9731, allocations: 251.5 kB / 1.369 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/0.9768, allocations: 0.5773 MB / 1.37 GB, free: 9.832 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.9805, allocations: 3.453 MB / 1.373 GB, free: 7.941 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/0.9806, allocations: 130.4 kB / 1.373 GB, free: 7.883 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.9808, allocations: 171.2 kB / 1.374 GB, free: 7.828 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.9839, allocations: 1.957 MB / 1.375 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.9839, allocations: 0 / 1.375 GB, free: 6.688 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.9841, allocations: 72.97 kB / 1.376 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.9841, allocations: 44.89 kB / 1.376 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.9874, allocations: 2.109 MB / 1.378 GB, free: 5.672 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.008901/0.9963, allocations: 6.741 MB / 1.384 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/0.9996, allocations: 2.127 MB / 1.386 GB, free: 15.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/1.001, allocations: 0.7698 MB / 1.387 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/1.001, allocations: 445 kB / 1.387 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001691/1.003, allocations: 1.019 MB / 1.388 GB, free: 13.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=146): time 3.226e-06/1.003, allocations: 2.25 kB / 1.388 GB, free: 13.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=146): time 0.006572/1.01, allocations: 3.012 MB / 1.391 GB, free: 12.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/1.01, allocations: 204 kB / 1.392 GB, free: 12.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/1.014, allocations: 4.091 MB / 1.396 GB, free: 9.164 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/1.014, allocations: 61.7 kB / 1.396 GB, free: 9.098 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007175/1.015, allocations: 0.9115 MB / 1.397 GB, free: 8.176 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/1.015, allocations: 0.4957 MB / 1.397 GB, free: 7.676 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/1.016, allocations: 238.8 kB / 1.397 GB, free: 7.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.016, allocations: 361.9 kB / 1.398 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/1.017, allocations: 0.5765 MB / 1.398 GB, free: 6.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/1.018, allocations: 0.8047 MB / 1.399 GB, free: 5.633 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/1.021, allocations: 1.337 MB / 1.4 GB, free: 4.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.021, allocations: 0 / 1.4 GB, free: 4.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003877/1.025, allocations: 1.812 MB / 1.402 GB, free: 2.449 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.025, allocations: 6.188 kB / 1.402 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.025, allocations: 4 kB / 1.402 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.026, allocations: 208.1 kB / 1.402 GB, free: 2.223 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.027, allocations: 331.6 kB / 1.403 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/1.033, allocations: 7.325 MB / 1.41 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/1.035, allocations: 167.2 kB / 1.41 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.035, allocations: 51.95 kB / 1.41 GB, free: 9.664 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.0008907/1.036, allocations: 481.5 kB / 1.41 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/1.036, allocations: 206.7 kB / 1.411 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004464/1.041, allocations: 2.173 MB / 1.413 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.041, allocations: 15.94 kB / 1.413 GB, free: 6.762 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.041, allocations: 4 kB / 1.413 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.041, allocations: 7.969 kB / 1.413 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006775/1.047, allocations: 4.141 MB / 1.417 GB, free: 2.531 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.047, allocations: 0 / 1.417 GB, free: 2.531 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.049, allocations: 323.5 kB / 1.417 GB, free: 2.215 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000847/1.05, allocations: 196.1 kB / 1.417 GB, free: 2.008 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.319e-05/1.05, allocations: 43.95 kB / 1.417 GB, free: 1.965 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005622/1.056, allocations: 7.367 MB / 1.425 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.056, allocations: 0 / 1.425 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004171/1.06, allocations: 2.037 MB / 1.427 GB, free: 7.816 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/1.061, allocations: 0.5186 MB / 1.427 GB, free: 7.277 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.061, allocations: 31.98 kB / 1.427 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.062, allocations: 118.3 kB / 1.427 GB, free: 7.133 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.063, allocations: 109.2 kB / 1.427 GB, free: 7.027 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.063, allocations: 71.94 kB / 1.427 GB, free: 6.957 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003192/1.066, allocations: 3.145 MB / 1.43 GB, free: 3.82 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.066, allocations: 4 kB / 1.43 GB, free: 3.816 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001725/1.068, allocations: 0.6938 MB / 1.431 GB, free: 3.121 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.005861/1.074, allocations: 3.246 MB / 1.434 GB, free: 28 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003497/1.077, allocations: 2.078 MB / 1.436 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.077, allocations: 0.5625 kB / 1.436 GB, free: 13.88 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/1.079, allocations: 1.434 MB / 1.438 GB, free: 12.38 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.082, allocations: 0.5516 MB / 1.438 GB, free: 11.85 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/1.111, allocations: 21.18 MB / 1.459 GB, free: 6.43 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/1.112, allocations: 1.533 MB / 1.46 GB, free: 4.863 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001689/1.114, allocations: 0.529 MB / 1.461 GB, free: 4.328 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.115, allocations: 0.9053 MB / 1.462 GB, free: 3.422 MB / 1.123 GB Notification: Performance of SimCode: time 5.21e-07/1.115, allocations: 0 / 1.462 GB, free: 3.422 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1272/1.242, allocations: 49.59 MB / 1.51 GB, free: 2.312 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.89, allocations: 12.3 kB / 1.51 GB, free: 2.305 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