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.001657/0.001657, allocations: 101.5 kB / 15.99 MB, free: 6.355 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.001758/0.001758, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.246/2.246, allocations: 390.2 MB / 0.665 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 69.3 kB / 0.8127 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.307, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003476/0.3105, allocations: 1.979 MB / 0.9517 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004319/0.3149, allocations: 3.413 MB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.315, allocations: 0 / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.3154, allocations: 51.73 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.316, allocations: 119.4 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.377e-05/0.3161, allocations: 19.97 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.3164, allocations: 183.2 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3165, allocations: 25.67 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.3167, allocations: 79.7 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.3169, allocations: 95.53 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.317, allocations: 12 kB / 0.9556 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.592e-05/0.3171, allocations: 23.98 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.3172, allocations: 35.84 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.506e-05/0.3173, allocations: 83.47 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3174, allocations: 119.7 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3175, allocations: 0 / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3175, allocations: 0 / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3175, allocations: 0 / 0.9558 GB, free: 2.941 MB / 0.7325 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.0009426/0.3184, allocations: 0.5023 MB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3185, allocations: 12.03 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.3186, allocations: 20.66 kB / 0.9564 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.3189, allocations: 250.8 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3189, allocations: 384 / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.319, allocations: 12.36 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.3193, allocations: 145.6 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3194, allocations: 0 / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3194, allocations: 3.938 kB / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.3194, allocations: 15.98 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.3199, allocations: 139.9 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.3206, allocations: 448.5 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.3211, allocations: 182.4 kB / 0.9575 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.3213, allocations: 104.8 kB / 0.9576 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.3214, allocations: 3.984 kB / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3214, allocations: 42.55 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.462e-06/0.3214, allocations: 0 / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008166/0.3222, allocations: 289.3 kB / 0.9579 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3223, allocations: 55.41 kB / 0.958 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3225, allocations: 213 kB / 0.9582 GB, free: 352 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3225, allocations: 29.7 kB / 0.9582 GB, free: 316 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.3226, allocations: 120.1 kB / 0.9583 GB, free: 192 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.3227, allocations: 47.36 kB / 0.9584 GB, free: 144 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.3228, allocations: 25.7 kB / 0.9584 GB, free: 112 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3229, allocations: 334.8 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3231, allocations: 79.94 kB / 0.9588 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.3234, allocations: 83.88 kB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.3238, allocations: 168.7 kB / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3238, allocations: 0 / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005149/0.3243, allocations: 209.3 kB / 0.9592 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3244, allocations: 4 kB / 0.9592 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3244, allocations: 4 kB / 0.9592 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3244, allocations: 0 / 0.9592 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.3247, allocations: 39.95 kB / 0.9593 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3247, allocations: 0 / 0.9593 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.3249, allocations: 19.89 kB / 0.9593 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3249, allocations: 4 kB / 0.9593 GB, free: 15.17 MB / 0.7481 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.0001259/0.3251, allocations: 135.7 kB / 0.9594 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.3251, allocations: 15.81 kB / 0.9594 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.3252, allocations: 37.77 kB / 0.9595 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3252, allocations: 4 kB / 0.9595 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3252, allocations: 0 / 0.9595 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3252, allocations: 0 / 0.9595 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.3255, allocations: 265.4 kB / 0.9597 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3256, allocations: 0 / 0.9597 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.3258, allocations: 35.95 kB / 0.9598 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3258, allocations: 0 / 0.9598 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3258, allocations: 8 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3258, allocations: 0 / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3258, allocations: 4 kB / 0.9598 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.3264, allocations: 319 kB / 0.9601 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3266, allocations: 112.8 kB / 0.9602 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.3266, allocations: 8 kB / 0.9602 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3268, allocations: 15.98 kB / 0.9602 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3269, allocations: 7.984 kB / 0.9602 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3269, allocations: 11.98 kB / 0.9602 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001448/0.327, allocations: 156.5 kB / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.327, allocations: 0 / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002775/0.3273, allocations: 47.86 kB / 0.9604 GB, free: 13.92 MB / 0.7481 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.0001768/0.3275, allocations: 107.2 kB / 0.9605 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.328, allocations: 187.7 kB / 0.9607 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3281, allocations: 3.938 kB / 0.9607 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.3283, allocations: 103.9 kB / 0.9608 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.3288, allocations: 24.42 kB / 0.9608 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009372/0.3297, allocations: 0.4887 MB / 0.9613 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.33, allocations: 0.7314 MB / 0.962 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.3301, allocations: 19.42 kB / 0.9621 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of SimCode: time 5.92e-07/0.3301, allocations: 0 / 0.9621 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.00515/0.3353, allocations: 2.319 MB / 0.9643 GB, free: 9.902 MB / 0.7481 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/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