Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001409/0.001409, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.505/2.505, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004038, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.8733, allocations: 142.4 MB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003356/0.8767, allocations: 1.572 MB / 0.956 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006288/0.883, allocations: 3.232 MB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.8832, allocations: 3.938 kB / 0.9591 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.8836, allocations: 36.97 kB / 0.9592 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007597/0.8844, allocations: 114.8 kB / 0.9593 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.8846, allocations: 24.12 kB / 0.9593 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.885, allocations: 162.4 kB / 0.9595 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.8851, allocations: 25.81 kB / 0.9595 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.8855, allocations: 77.31 kB / 0.9596 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.8857, allocations: 68.62 kB / 0.9596 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.8858, allocations: 4.469 kB / 0.9596 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.8859, allocations: 23.27 kB / 0.9596 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.886, allocations: 33.47 kB / 0.9597 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.8861, allocations: 52.62 kB / 0.9597 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.8863, allocations: 111.4 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.8863, allocations: 0 / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8864, allocations: 1.375 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.8864, allocations: 4 kB / 0.9598 GB, free: 3.316 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.001146/0.8875, allocations: 491.4 kB / 0.9603 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.8876, allocations: 13.62 kB / 0.9603 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.8877, allocations: 16.06 kB / 0.9603 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.8882, allocations: 239.8 kB / 0.9606 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.8882, allocations: 5.375 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.8883, allocations: 4.125 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006099/0.8889, allocations: 148.5 kB / 0.9607 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.889, allocations: 0 / 0.9607 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.889, allocations: 9.328 kB / 0.9607 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.8891, allocations: 10.86 kB / 0.9607 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.8899, allocations: 155.8 kB / 0.9609 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.8909, allocations: 439.6 kB / 0.9613 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007109/0.8917, allocations: 178.5 kB / 0.9615 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.8921, allocations: 107 kB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.8922, allocations: 2 kB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.8922, allocations: 39.78 kB / 0.9616 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.974e-06/0.8922, allocations: 3.938 kB / 0.9616 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001488/0.8937, allocations: 306.6 kB / 0.9619 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.8938, allocations: 52.56 kB / 0.962 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.8941, allocations: 204.6 kB / 0.9622 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.8942, allocations: 33.7 kB / 0.9622 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.8943, allocations: 127.9 kB / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.8944, allocations: 36.61 kB / 0.9623 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.8944, allocations: 5.031 kB / 0.9623 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.8945, allocations: 332.2 kB / 0.9627 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.8949, allocations: 76.59 kB / 0.9627 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.8953, allocations: 77.69 kB / 0.9628 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.8957, allocations: 91.5 kB / 0.9629 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8958, allocations: 0 / 0.9629 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009388/0.8967, allocations: 226.8 kB / 0.9631 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.8967, allocations: 9.109 kB / 0.9631 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8968, allocations: 1.219 kB / 0.9631 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.8968, allocations: 0 / 0.9631 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.8972, allocations: 44.72 kB / 0.9632 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.8972, allocations: 0 / 0.9632 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.8975, allocations: 16.11 kB / 0.9632 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.8976, allocations: 6.734 kB / 0.9632 GB, free: 0.7031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.8977, allocations: 134.9 kB / 0.9633 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.8978, allocations: 23.45 kB / 0.9633 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.8979, allocations: 31.05 kB / 0.9634 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.8979, allocations: 2.188 kB / 0.9634 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.8979, allocations: 0 / 0.9634 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8979, allocations: 3.938 kB / 0.9634 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.8983, allocations: 259.2 kB / 0.9636 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8983, allocations: 0.8438 kB / 0.9636 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.8987, allocations: 35.69 kB / 0.9637 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.8987, allocations: 1.438 kB / 0.9637 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.8988, allocations: 12.94 kB / 0.9637 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.8988, allocations: 0 / 0.9637 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8988, allocations: 1.031 kB / 0.9637 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009353/0.8998, allocations: 329.3 kB / 0.964 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.9, allocations: 107.2 kB / 0.9641 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.9, allocations: 9.328 kB / 0.9641 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.9004, allocations: 27.06 kB / 0.9641 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.9005, allocations: 11.67 kB / 0.9641 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.9005, allocations: 3.938 kB / 0.9641 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002367/0.9008, allocations: 153 kB / 0.9643 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.9e-07/0.9008, allocations: 1.375 kB / 0.9643 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005544/0.9014, allocations: 42.41 kB / 0.9643 GB, free: 15.75 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002592/0.9016, allocations: 102.3 kB / 0.9644 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009827/0.9026, allocations: 186.8 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9027, allocations: 0 / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.9032, allocations: 106.2 kB / 0.9647 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.9039, allocations: 23.58 kB / 0.9647 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.9054, allocations: 477.3 kB / 0.9652 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.9059, allocations: 0.7234 MB / 0.9659 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.9063, allocations: 61.83 kB / 0.9659 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.9064, allocations: 19.02 kB / 0.966 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.9064, allocations: 0 / 0.966 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.00591/0.9123, allocations: 1.476 MB / 0.9674 GB, free: 13.69 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches