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.001293/0.001293, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.001309/0.001309, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.299/2.299, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 64.62 kB / 0.8127 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2993, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003822/0.3032, allocations: 1.963 MB / 0.9517 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004403/0.3076, allocations: 3.424 MB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.3078, allocations: 0 / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.3082, allocations: 47.73 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.3087, allocations: 111.5 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.358e-05/0.3088, allocations: 31.91 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.3091, allocations: 163.2 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3092, allocations: 29.67 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.3095, allocations: 83.69 kB / 0.9555 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.3097, allocations: 83.55 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.3097, allocations: 8 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.3098, allocations: 23.98 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.3099, allocations: 43.78 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.31, allocations: 75.53 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3102, allocations: 111.7 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3102, allocations: 4 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3102, allocations: 4 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3102, allocations: 0 / 0.9558 GB, free: 2.977 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.0009068/0.3112, allocations: 0.4945 MB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3112, allocations: 8.031 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.3113, allocations: 20.66 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.3117, allocations: 250.8 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3117, allocations: 4.359 kB / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.3117, allocations: 4.375 kB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.3121, allocations: 137.7 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3121, allocations: 3.984 kB / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.3121, allocations: 0 / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.3121, allocations: 15.91 kB / 0.9567 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.3125, allocations: 135.9 kB / 0.9569 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.3132, allocations: 444.5 kB / 0.9573 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/0.3137, allocations: 158.5 kB / 0.9574 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.3139, allocations: 100.8 kB / 0.9575 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3139, allocations: 7.984 kB / 0.9575 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.314, allocations: 34.81 kB / 0.9576 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.314, allocations: 0 / 0.9576 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007946/0.3148, allocations: 285.4 kB / 0.9578 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.3148, allocations: 51.41 kB / 0.9579 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.315, allocations: 209 kB / 0.9581 GB, free: 464 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3151, allocations: 25.7 kB / 0.9581 GB, free: 432 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.3152, allocations: 128 kB / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.3152, allocations: 47.38 kB / 0.9583 GB, free: 252 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.3153, allocations: 29.7 kB / 0.9583 GB, free: 216 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3154, allocations: 334.8 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3157, allocations: 71.88 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3159, allocations: 67.94 kB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.3163, allocations: 168.5 kB / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3163, allocations: 0 / 0.9589 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004874/0.3168, allocations: 205.2 kB / 0.9591 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3168, allocations: 7.984 kB / 0.9591 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3168, allocations: 8 kB / 0.9591 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3168, allocations: 0 / 0.9591 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3171, allocations: 31.97 kB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3171, allocations: 0 / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3173, allocations: 15.98 kB / 0.9592 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3173, allocations: 7.984 kB / 0.9592 GB, free: 15.3 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.0001221/0.3174, allocations: 133.7 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.3175, allocations: 19.72 kB / 0.9593 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.3175, allocations: 29.77 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3175, allocations: 4 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3175, allocations: 0 / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3176, allocations: 0 / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3178, allocations: 257.4 kB / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3178, allocations: 0 / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.3181, allocations: 31.97 kB / 0.9596 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3181, allocations: 4 kB / 0.9596 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.3181, allocations: 15.98 kB / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3181, allocations: 0 / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3181, allocations: 0 / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.3187, allocations: 311 kB / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/0.3188, allocations: 116.9 kB / 0.9601 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.3188, allocations: 0 / 0.9601 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.319, allocations: 15.98 kB / 0.9601 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.3191, allocations: 7.984 kB / 0.9601 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3191, allocations: 4 kB / 0.9601 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001359/0.3192, allocations: 160.5 kB / 0.9602 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.3192, allocations: 0 / 0.9602 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002757/0.3195, allocations: 31.94 kB / 0.9603 GB, free: 14.09 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.0001759/0.3197, allocations: 111.2 kB / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005304/0.3202, allocations: 183.8 kB / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3202, allocations: 0 / 0.9606 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.3205, allocations: 95.86 kB / 0.9606 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3209, allocations: 32.58 kB / 0.9607 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.3218, allocations: 487.8 kB / 0.9611 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3221, allocations: 0.7275 MB / 0.9619 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.3222, allocations: 19.42 kB / 0.9619 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3222, allocations: 0 / 0.9619 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.004558/0.3267, allocations: 2.229 MB / 0.964 GB, free: 10.18 MB / 0.7481 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/jenkins1/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