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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001405/0.001405, allocations: 192.2 kB / 16.14 MB, free: 6.719 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.36/2.36, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001719, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.8001, allocations: 140.4 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003006/0.8031, allocations: 1.968 MB / 0.9508 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003362/0.8065, allocations: 3.423 MB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.8067, allocations: 1.312 kB / 0.9542 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.807, allocations: 41.69 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.8075, allocations: 124.6 kB / 0.9543 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.599e-05/0.8075, allocations: 30.67 kB / 0.9544 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.8078, allocations: 181 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.8079, allocations: 28.05 kB / 0.9546 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.808, allocations: 82.72 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.8082, allocations: 81.86 kB / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.8082, allocations: 5.594 kB / 0.9547 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.8083, allocations: 28.89 kB / 0.9548 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.8084, allocations: 35.25 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.8085, allocations: 78.75 kB / 0.9549 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.8087, allocations: 156.2 kB / 0.955 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8087, allocations: 0 / 0.955 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8087, allocations: 0 / 0.955 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.8087, allocations: 3.938 kB / 0.955 GB, free: 4.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.00083/0.8096, allocations: 0.5078 MB / 0.9555 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.8096, allocations: 10.06 kB / 0.9555 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.8097, allocations: 21.41 kB / 0.9556 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.81, allocations: 245.9 kB / 0.9558 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.81, allocations: 1.562 kB / 0.9558 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.8101, allocations: 8.531 kB / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.8104, allocations: 146.8 kB / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.8104, allocations: 0 / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.8105, allocations: 5.156 kB / 0.9559 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.8105, allocations: 8.438 kB / 0.9559 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.8109, allocations: 149.2 kB / 0.9561 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.8116, allocations: 452 kB / 0.9565 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.812, allocations: 170.7 kB / 0.9567 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.8122, allocations: 107 kB / 0.9568 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.8122, allocations: 9.312 kB / 0.9568 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.8122, allocations: 36.56 kB / 0.9568 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.8122, allocations: 0 / 0.9568 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007716/0.813, allocations: 283.8 kB / 0.9571 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.8131, allocations: 61.16 kB / 0.9572 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.8132, allocations: 216.6 kB / 0.9574 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.8133, allocations: 25.7 kB / 0.9574 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.8133, allocations: 124.3 kB / 0.9575 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.8134, allocations: 48.78 kB / 0.9576 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.8134, allocations: 31.33 kB / 0.9576 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.8135, allocations: 334.9 kB / 0.9579 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.8137, allocations: 79.81 kB / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.8139, allocations: 77.62 kB / 0.9581 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.8143, allocations: 169.2 kB / 0.9582 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8143, allocations: 0 / 0.9582 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004784/0.8148, allocations: 214.4 kB / 0.9584 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8148, allocations: 4.594 kB / 0.9584 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8149, allocations: 0 / 0.9584 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.8149, allocations: 5.406 kB / 0.9584 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.8151, allocations: 36.28 kB / 0.9585 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8151, allocations: 0 / 0.9585 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.8153, allocations: 20.72 kB / 0.9585 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.8153, allocations: 3.188 kB / 0.9585 GB, free: 1.562 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 9.371e-05/0.8154, allocations: 137.9 kB / 0.9586 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.8155, allocations: 17.34 kB / 0.9586 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.8155, allocations: 26.66 kB / 0.9587 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.8156, allocations: 1.188 kB / 0.9587 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.8156, allocations: 3.938 kB / 0.9587 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8156, allocations: 5.547 kB / 0.9587 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.8158, allocations: 261.6 kB / 0.9589 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8158, allocations: 0 / 0.9589 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.816, allocations: 39.06 kB / 0.959 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8161, allocations: 0.7812 kB / 0.959 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.8161, allocations: 5.484 kB / 0.959 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8161, allocations: 5.031 kB / 0.959 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8161, allocations: 0 / 0.959 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.8166, allocations: 311.3 kB / 0.9593 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.8167, allocations: 111.1 kB / 0.9594 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.8167, allocations: 5.188 kB / 0.9594 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.8169, allocations: 15.27 kB / 0.9594 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.817, allocations: 9.297 kB / 0.9594 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.817, allocations: 6.047 kB / 0.9594 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000115/0.8171, allocations: 158.1 kB / 0.9596 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8171, allocations: 0 / 0.9596 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002752/0.8174, allocations: 47.91 kB / 0.9596 GB, free: 0.6211 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.0001512/0.8176, allocations: 117.2 kB / 0.9597 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000498/0.8181, allocations: 168.7 kB / 0.9599 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8181, allocations: 0 / 0.9599 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.8183, allocations: 101.8 kB / 0.96 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.8188, allocations: 23.73 kB / 0.96 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007632/0.8196, allocations: 485.5 kB / 0.9605 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.8199, allocations: 0.7276 MB / 0.9612 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.8201, allocations: 59.38 kB / 0.9612 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.8202, allocations: 14.5 kB / 0.9612 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8202, allocations: 4 kB / 0.9612 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.004882/0.8251, allocations: 1.668 MB / 0.9629 GB, free: 14.45 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (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 & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/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