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.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: 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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001261/0.00126, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.553/1.553, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.434/2.434, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8089, allocations: 140.4 MB / 0.9489 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003353/0.8123, allocations: 1.957 MB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003576/0.8159, allocations: 3.424 MB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.8161, allocations: 1.188 kB / 0.9542 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.8164, allocations: 40.97 kB / 0.9542 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.817, allocations: 128.5 kB / 0.9543 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.462e-05/0.817, allocations: 19.64 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.8173, allocations: 185.1 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.8174, allocations: 24.41 kB / 0.9546 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.8176, allocations: 73.41 kB / 0.9546 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.8178, allocations: 76.66 kB / 0.9547 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.8179, allocations: 8.625 kB / 0.9547 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.818, allocations: 25.8 kB / 0.9547 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.818, allocations: 37.58 kB / 0.9548 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.8181, allocations: 75.27 kB / 0.9548 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.8184, allocations: 153.9 kB / 0.955 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8184, allocations: 4 kB / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8184, allocations: 0 / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8184, allocations: 1.125 kB / 0.955 GB, free: 4.395 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.0008243/0.8192, allocations: 0.4901 MB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.8193, allocations: 9.875 kB / 0.9555 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.8194, allocations: 20.11 kB / 0.9555 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.8197, allocations: 245.3 kB / 0.9557 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.8197, allocations: 1.625 kB / 0.9557 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.8197, allocations: 7.875 kB / 0.9557 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.8201, allocations: 141.6 kB / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8201, allocations: 0 / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.8201, allocations: 1.5 kB / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/0.8202, allocations: 15.27 kB / 0.9559 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.8206, allocations: 130.1 kB / 0.956 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.8212, allocations: 446.8 kB / 0.9564 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.8216, allocations: 172.2 kB / 0.9566 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.8218, allocations: 109 kB / 0.9567 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.8218, allocations: 9.766 kB / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.8219, allocations: 30.56 kB / 0.9568 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.8219, allocations: 0 / 0.9568 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007818/0.8227, allocations: 278.2 kB / 0.957 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.8227, allocations: 53.88 kB / 0.9571 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.8229, allocations: 209 kB / 0.9573 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.8229, allocations: 27.14 kB / 0.9573 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.823, allocations: 122.9 kB / 0.9574 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.823, allocations: 36.64 kB / 0.9574 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.8231, allocations: 31.42 kB / 0.9575 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.8231, allocations: 340.4 kB / 0.9578 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.8233, allocations: 69.84 kB / 0.9579 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.8235, allocations: 71.31 kB / 0.9579 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.824, allocations: 156.9 kB / 0.9581 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.824, allocations: 0 / 0.9581 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005109/0.8245, allocations: 215 kB / 0.9583 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.8245, allocations: 9.125 kB / 0.9583 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.8245, allocations: 0 / 0.9583 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.8246, allocations: 4.719 kB / 0.9583 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.8248, allocations: 35.86 kB / 0.9583 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8249, allocations: 0.875 kB / 0.9583 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.825, allocations: 20.36 kB / 0.9584 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.825, allocations: 4.125 kB / 0.9584 GB, free: 1.699 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 0.0001156/0.8252, allocations: 134 kB / 0.9585 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.8252, allocations: 23.91 kB / 0.9585 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.8253, allocations: 27.33 kB / 0.9585 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8253, allocations: 1.375 kB / 0.9585 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8253, allocations: 0 / 0.9585 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8253, allocations: 0 / 0.9585 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.8256, allocations: 256.1 kB / 0.9588 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.8256, allocations: 0 / 0.9588 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.8258, allocations: 39.33 kB / 0.9588 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8258, allocations: 5.375 kB / 0.9588 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.8258, allocations: 1.375 kB / 0.9588 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8258, allocations: 1.375 kB / 0.9588 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8258, allocations: 0 / 0.9588 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.8264, allocations: 314.9 kB / 0.9591 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.8265, allocations: 114.8 kB / 0.9592 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.8265, allocations: 1.156 kB / 0.9592 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.8267, allocations: 19.77 kB / 0.9593 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.8268, allocations: 12.12 kB / 0.9593 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.8268, allocations: 11.28 kB / 0.9593 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001277/0.8269, allocations: 155.5 kB / 0.9594 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8269, allocations: 0 / 0.9594 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000288/0.8272, allocations: 38.59 kB / 0.9595 GB, free: 0.7578 MB / 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.0001695/0.8274, allocations: 111.3 kB / 0.9596 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.8279, allocations: 165.5 kB / 0.9597 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.828, allocations: 4 kB / 0.9597 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.8282, allocations: 88.53 kB / 0.9598 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.8287, allocations: 30.41 kB / 0.9598 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008223/0.8295, allocations: 462.6 kB / 0.9603 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.8299, allocations: 0.7231 MB / 0.961 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.83, allocations: 54.89 kB / 0.961 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.8301, allocations: 17.84 kB / 0.9611 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.8301, allocations: 1.344 kB / 0.9611 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.005175/0.8353, allocations: 1.542 MB / 0.9626 GB, free: 14.68 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