Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006385/0.006385, allocations: 103 kB / 15.73 MB, free: 6.004 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.00134/0.00134, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.14 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7864, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003011/0.7894, allocations: 2.142 MB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004261/0.7937, allocations: 3.793 MB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.598e-05/0.7938, allocations: 4 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.7941, allocations: 63.28 kB / 1.214 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.7945, allocations: 119.2 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.7948, allocations: 151.6 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000377/0.7952, allocations: 314.9 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.7953, allocations: 60.7 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.7956, allocations: 127.5 kB / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.7958, allocations: 155.3 kB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.7958, allocations: 24 kB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.7961, allocations: 127.8 kB / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.7961, allocations: 59.81 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.7962, allocations: 123.3 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.7966, allocations: 332.7 kB / 1.215 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7966, allocations: 0 / 1.215 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7966, allocations: 0 / 1.215 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.7966, allocations: 4 kB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001194/0.7978, allocations: 0.6346 MB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.7979, allocations: 8.031 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.7989, allocations: 176.4 kB / 1.216 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.7996, allocations: 316.3 kB / 1.216 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.7996, allocations: 8.562 kB / 1.216 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.7997, allocations: 15.94 kB / 1.216 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.8004, allocations: 221.5 kB / 1.216 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8004, allocations: 0 / 1.216 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.8004, allocations: 7.938 kB / 1.216 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8004, allocations: 4 kB / 1.216 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.8014, allocations: 283.7 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.8027, allocations: 0.5745 MB / 1.217 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.8033, allocations: 174.4 kB / 1.217 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.8038, allocations: 160.7 kB / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008162/0.8046, allocations: 0.5454 MB / 1.218 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.8047, allocations: 34.56 kB / 1.218 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.8047, allocations: 0 / 1.218 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001714/0.8064, allocations: 488 kB / 1.219 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.8064, allocations: 55.64 kB / 1.219 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.8067, allocations: 264.6 kB / 1.219 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.8067, allocations: 29.64 kB / 1.219 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.8068, allocations: 152 kB / 1.219 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.8069, allocations: 43.3 kB / 1.219 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.807, allocations: 45.69 kB / 1.219 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8071, allocations: 334.8 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.8077, allocations: 151.9 kB / 1.22 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.8082, allocations: 153.4 kB / 1.22 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.8093, allocations: 290.8 kB / 1.22 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8093, allocations: 0 / 1.22 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001151/0.8104, allocations: 369 kB / 1.22 GB, free: 184 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8104, allocations: 4 kB / 1.22 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8105, allocations: 0 / 1.22 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8105, allocations: 0 / 1.22 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.8109, allocations: 71.86 kB / 1.221 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.8109, allocations: 0 / 1.221 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.8113, allocations: 59.72 kB / 1.221 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.8113, allocations: 7.984 kB / 1.221 GB, free: 40 kB / 0.9356 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 (17): * Single equations (assignments): 17 * 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.0001317/0.8114, allocations: 133.8 kB / 1.221 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.8115, allocations: 27.62 kB / 1.221 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.8128, allocations: 371.3 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.8128, allocations: 7.984 kB / 1.221 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8128, allocations: 4 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8128, allocations: 3.938 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.8132, allocations: 301.4 kB / 1.221 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8132, allocations: 0 / 1.221 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.8136, allocations: 55.92 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.8136, allocations: 4 kB / 1.221 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.8136, allocations: 7.984 kB / 1.221 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8136, allocations: 3.938 kB / 1.221 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8136, allocations: 4 kB / 1.221 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.8148, allocations: 450.8 kB / 1.222 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.8149, allocations: 120.8 kB / 1.222 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.815, allocations: 4 kB / 1.222 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.8153, allocations: 35.95 kB / 1.222 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.8154, allocations: 15.97 kB / 1.222 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.8154, allocations: 15.92 kB / 1.222 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001539/0.8156, allocations: 187.1 kB / 1.222 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8156, allocations: 0 / 1.222 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003736/0.816, allocations: 64 kB / 1.222 GB, free: 14.16 MB / 0.9512 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.0002341/0.8162, allocations: 139.1 kB / 1.222 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.8174, allocations: 323.7 kB / 1.223 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8174, allocations: 0 / 1.223 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.818, allocations: 163.2 kB / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.8184, allocations: 42.27 kB / 1.223 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.8195, allocations: 0.4938 MB / 1.223 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.8198, allocations: 0.7435 MB / 1.224 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.82, allocations: 49.39 kB / 1.224 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.8201, allocations: 27.42 kB / 1.224 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.8201, allocations: 0 / 1.224 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of Templates: time 0.006629/0.8268, allocations: 3.378 MB / 1.228 GB, free: 8.785 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches