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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007081/0.007081, allocations: 102.8 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.001553/0.001553, allocations: 191.8 kB / 16.67 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.88 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.8892, allocations: 157.4 MB / 1.207 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003833/0.8931, allocations: 2.142 MB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006062/0.8992, allocations: 3.788 MB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.8995, allocations: 4 kB / 1.213 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.8999, allocations: 63.42 kB / 1.213 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005889/0.9006, allocations: 131.1 kB / 1.213 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.9011, allocations: 147.6 kB / 1.213 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005693/0.9017, allocations: 310.9 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.9019, allocations: 60.7 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.9024, allocations: 127.5 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.9027, allocations: 155.3 kB / 1.214 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.9028, allocations: 20 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.9031, allocations: 127.8 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.9032, allocations: 59.81 kB / 1.214 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.9034, allocations: 127.2 kB / 1.214 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005846/0.904, allocations: 334.9 kB / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.904, allocations: 0 / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.844e-06/0.904, allocations: 0 / 1.215 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.904, allocations: 0 / 1.215 GB, free: 5.914 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.00161/0.9056, allocations: 0.6385 MB / 1.215 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.9057, allocations: 8.031 kB / 1.215 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.9058, allocations: 50.73 kB / 1.215 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.9069, allocations: 160.4 kB / 1.215 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008673/0.9077, allocations: 332.2 kB / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.9078, allocations: 16.25 kB / 1.216 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.9078, allocations: 12 kB / 1.216 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.9086, allocations: 223.9 kB / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.9086, allocations: 0 / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.9086, allocations: 4 kB / 1.216 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.9086, allocations: 3.938 kB / 1.216 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.9097, allocations: 283.6 kB / 1.216 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.9112, allocations: 0.5746 MB / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.9119, allocations: 174.4 kB / 1.217 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.9124, allocations: 156.7 kB / 1.217 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000929/0.9134, allocations: 0.5454 MB / 1.218 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.9134, allocations: 34.56 kB / 1.218 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.885e-06/0.9134, allocations: 4 kB / 1.218 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.002002/0.9155, allocations: 488.5 kB / 1.218 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.9155, allocations: 59.34 kB / 1.218 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.916, allocations: 264.5 kB / 1.219 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.9161, allocations: 33.7 kB / 1.219 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.9162, allocations: 148 kB / 1.219 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.824e-05/0.9163, allocations: 47.34 kB / 1.219 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.9164, allocations: 37.69 kB / 1.219 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.9166, allocations: 338.8 kB / 1.219 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.9172, allocations: 147.9 kB / 1.219 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.9177, allocations: 153.7 kB / 1.219 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.9188, allocations: 288.6 kB / 1.22 GB, free: 440 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9188, allocations: 0 / 1.22 GB, free: 440 kB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001191/0.92, allocations: 366.9 kB / 1.22 GB, free: 68 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.92, allocations: 12 kB / 1.22 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9201, allocations: 0 / 1.22 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9201, allocations: 0 / 1.22 GB, free: 56 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.9206, allocations: 67.92 kB / 1.22 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9206, allocations: 0 / 1.22 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.921, allocations: 51.72 kB / 1.22 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.921, allocations: 8 kB / 1.22 GB, free: 15.93 MB / 0.9512 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.0001527/0.9212, allocations: 133.8 kB / 1.22 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.9212, allocations: 31.56 kB / 1.22 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.9226, allocations: 371.3 kB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.9226, allocations: 0 / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.9227, allocations: 4 kB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.9227, allocations: 7.922 kB / 1.221 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.9231, allocations: 297.4 kB / 1.221 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9231, allocations: 0 / 1.221 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.9235, allocations: 67.86 kB / 1.221 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.9235, allocations: 3.938 kB / 1.221 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.9235, allocations: 7.984 kB / 1.221 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.9235, allocations: 0 / 1.221 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9235, allocations: 0 / 1.221 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.9247, allocations: 450.8 kB / 1.221 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.9249, allocations: 116.8 kB / 1.222 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.9249, allocations: 8 kB / 1.222 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.9253, allocations: 39.95 kB / 1.222 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.9254, allocations: 23.89 kB / 1.222 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.9254, allocations: 7.984 kB / 1.222 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001952/0.9256, allocations: 187.1 kB / 1.222 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9256, allocations: 0 / 1.222 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003661/0.926, allocations: 64 kB / 1.222 GB, free: 14.04 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.001716/0.9277, allocations: 1.022 MB / 1.223 GB, free: 13 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.9289, allocations: 323.7 kB / 1.223 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9289, allocations: 0 / 1.223 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005564/0.9295, allocations: 167.8 kB / 1.223 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.93, allocations: 32.58 kB / 1.223 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.936, allocations: 2.873 MB / 1.226 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.9365, allocations: 0.7435 MB / 1.227 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.9368, allocations: 57.36 kB / 1.227 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.937, allocations: 75.39 kB / 1.227 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/0.937, allocations: 0 / 1.227 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.9635, allocations: 5.935 MB / 1.233 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.748, allocations: 13.89 kB / 1.233 GB, free: 2.855 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > 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/jenkins1/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