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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009899/0.00099, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.009025/0.009026, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.499/1.499, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 9.031 kB / 0.9027 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3955, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00258/0.3981, allocations: 1.845 MB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.4028, allocations: 3.72 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.403, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.4033, allocations: 51.61 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.4037, allocations: 111.3 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.4041, allocations: 127.7 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.4045, allocations: 298.9 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.4047, allocations: 56.64 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.405, allocations: 123.5 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.4052, allocations: 131.4 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.4052, allocations: 8 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.4055, allocations: 123.8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.045e-05/0.4056, allocations: 51.73 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.4058, allocations: 129 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.4062, allocations: 314.9 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4062, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.517e-06/0.4062, allocations: 0 / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4062, allocations: 4 kB / 1.066 GB, free: 13.9 MB / 0.8262 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.001286/0.4075, allocations: 0.6194 MB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.4076, allocations: 15.97 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009771/0.4086, allocations: 160.3 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.4093, allocations: 336.3 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.4094, allocations: 12.56 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.4094, allocations: 11.94 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.4101, allocations: 257.4 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4102, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.4102, allocations: 4 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4102, allocations: 0 / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.4113, allocations: 348.2 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4127, allocations: 0.5941 MB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.4133, allocations: 194.5 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.4139, allocations: 184.7 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000872/0.4148, allocations: 0.5767 MB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.4148, allocations: 30.56 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.4148, allocations: 3.938 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.001878/0.4167, allocations: 0.5753 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.4168, allocations: 55.41 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.417, allocations: 264.5 kB / 1.07 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4171, allocations: 33.7 kB / 1.07 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4172, allocations: 144 kB / 1.07 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.4172, allocations: 51.28 kB / 1.07 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.4173, allocations: 17.72 kB / 1.07 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4174, allocations: 342.8 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/0.418, allocations: 175.9 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000552/0.4186, allocations: 181.4 kB / 1.071 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.4197, allocations: 354.3 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4198, allocations: 0 / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001236/0.421, allocations: 429 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.421, allocations: 7.938 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4211, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4211, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.4215, allocations: 79.92 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4216, allocations: 4 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.4219, allocations: 67.78 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4219, allocations: 4 kB / 1.071 GB, free: 7.512 MB / 0.8262 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.0001394/0.4221, allocations: 133.8 kB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.4222, allocations: 23.72 kB / 1.072 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.4236, allocations: 439.3 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4236, allocations: 0 / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4236, allocations: 0 / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4236, allocations: 7.922 kB / 1.072 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.424, allocations: 305.3 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.424, allocations: 0 / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.4244, allocations: 75.92 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4244, allocations: 0 / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.4244, allocations: 11.98 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4244, allocations: 3.938 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4245, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.4257, allocations: 0.4947 MB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.4258, allocations: 128.7 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.4259, allocations: 7.938 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.4262, allocations: 51.95 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.4263, allocations: 19.97 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.4263, allocations: 11.92 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002029/0.4266, allocations: 187.1 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4266, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000372/0.4269, allocations: 67.94 kB / 1.073 GB, free: 5.473 MB / 0.8262 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.0002296/0.4272, allocations: 131.2 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.4284, allocations: 385.5 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4284, allocations: 0 / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.429, allocations: 195.8 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.4295, allocations: 34.69 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.4306, allocations: 0.5979 MB / 1.075 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4309, allocations: 0.7476 MB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.4312, allocations: 45.39 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4313, allocations: 27.34 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4313, allocations: 0 / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.006343/0.4376, allocations: 2.904 MB / 1.078 GB, free: 396 kB / 0.8262 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