Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.001692/0.001692, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.296/2.296, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 63.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5148, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002475/0.5173, allocations: 1.904 MB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.5201, allocations: 3.461 MB / 0.955 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.5202, allocations: 5.25 kB / 0.955 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.5204, allocations: 53.59 kB / 0.955 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.5207, allocations: 132.7 kB / 0.9551 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.316e-05/0.5208, allocations: 23.59 kB / 0.9552 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.521, allocations: 183.5 kB / 0.9553 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.5211, allocations: 24.53 kB / 0.9554 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.5212, allocations: 83.91 kB / 0.9554 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.5214, allocations: 80.44 kB / 0.9555 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.5214, allocations: 13.91 kB / 0.9555 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.5215, allocations: 32.28 kB / 0.9556 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.5216, allocations: 42.98 kB / 0.9556 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.5216, allocations: 73.73 kB / 0.9557 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.5218, allocations: 166.1 kB / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5218, allocations: 0 / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5218, allocations: 1.5 kB / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.5218, allocations: 0 / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000728/0.5226, allocations: 0.5078 MB / 0.9563 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.5226, allocations: 7.031 kB / 0.9563 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.5226, allocations: 42.3 kB / 0.9564 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.5227, allocations: 20 kB / 0.9564 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.5229, allocations: 246.6 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.523, allocations: 6.094 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.523, allocations: 3.969 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.5233, allocations: 147.6 kB / 0.9568 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.5233, allocations: 3.938 kB / 0.9568 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.5234, allocations: 4 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.5234, allocations: 7.812 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.5238, allocations: 141.9 kB / 0.9569 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.5244, allocations: 459.5 kB / 0.9574 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.5248, allocations: 175.1 kB / 0.9575 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.5251, allocations: 102.8 kB / 0.9576 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.5251, allocations: 1.344 kB / 0.9576 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.5251, allocations: 44.22 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.5251, allocations: 0 / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007814/0.5259, allocations: 289.2 kB / 0.958 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.5259, allocations: 61.22 kB / 0.958 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.5261, allocations: 214.7 kB / 0.9582 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.5261, allocations: 27.08 kB / 0.9582 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.5262, allocations: 120.3 kB / 0.9584 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.5262, allocations: 48.8 kB / 0.9584 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.5263, allocations: 31.33 kB / 0.9584 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.12e-05/0.5263, allocations: 334.9 kB / 0.9588 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5265, allocations: 75.81 kB / 0.9588 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.5267, allocations: 73.19 kB / 0.9589 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.5272, allocations: 169.3 kB / 0.9591 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5272, allocations: 0 / 0.9591 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000509/0.5277, allocations: 214.8 kB / 0.9593 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5277, allocations: 6.656 kB / 0.9593 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5277, allocations: 0 / 0.9593 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.5277, allocations: 5.047 kB / 0.9593 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.528, allocations: 40.31 kB / 0.9593 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.528, allocations: 1.281 kB / 0.9593 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.5282, allocations: 15.98 kB / 0.9593 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.5282, allocations: 10.08 kB / 0.9593 GB, free: 1.398 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.504e-05/0.5283, allocations: 127.4 kB / 0.9595 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.5283, allocations: 19.89 kB / 0.9595 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.5284, allocations: 26.47 kB / 0.9595 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.5284, allocations: 6.188 kB / 0.9595 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.5284, allocations: 0 / 0.9595 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5284, allocations: 5.078 kB / 0.9595 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.5286, allocations: 268.9 kB / 0.9598 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5286, allocations: 0 / 0.9598 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.5289, allocations: 31.81 kB / 0.9598 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5289, allocations: 1.062 kB / 0.9598 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5289, allocations: 9.109 kB / 0.9598 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5289, allocations: 5.031 kB / 0.9598 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5289, allocations: 7.938 kB / 0.9598 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.5295, allocations: 316.2 kB / 0.9601 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.5295, allocations: 111.3 kB / 0.9602 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.5296, allocations: 1.156 kB / 0.9602 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.5298, allocations: 19.3 kB / 0.9602 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5298, allocations: 8.422 kB / 0.9603 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.5298, allocations: 6.891 kB / 0.9603 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001029/0.53, allocations: 161.4 kB / 0.9604 GB, free: 472 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.53, allocations: 0 / 0.9604 GB, free: 472 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002746/0.5302, allocations: 38.97 kB / 0.9605 GB, free: 464 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007837/0.531, allocations: 0.8534 MB / 0.9613 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000557/0.5316, allocations: 192.6 kB / 0.9615 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5316, allocations: 0 / 0.9615 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.5319, allocations: 92.83 kB / 0.9616 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5322, allocations: 33.55 kB / 0.9616 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.5354, allocations: 2.299 MB / 0.9638 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.5357, allocations: 0.7308 MB / 0.9646 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.5358, allocations: 51.89 kB / 0.9646 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.665e-05/0.536, allocations: 55.09 kB / 0.9647 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.536, allocations: 0 / 0.9647 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.5545, allocations: 3.853 MB / 0.9684 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/7.491, allocations: 10.03 kB / 0.9684 GB, free: 11.1 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches