Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007836/0.0007836, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007527/0.0007527, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8617/0.8617, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.718/1.718, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.439e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002041/0.002055, allocations: 1.836 MB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00271/0.004766, allocations: 3.397 MB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.004849, allocations: 7.875 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.005465, allocations: 163.3 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.005603, allocations: 75.42 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 9.812e-05/0.005701, allocations: 59.84 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.006033, allocations: 279 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.006111, allocations: 21.78 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.006203, allocations: 87.8 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.006305, allocations: 67.8 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.006324, allocations: 8 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.006386, allocations: 23.97 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.006439, allocations: 67.77 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.006484, allocations: 51.86 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.006668, allocations: 199.1 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.006669, allocations: 0 / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00667, allocations: 4 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.006674, allocations: 0 / 1.006 GB, free: 7.164 MB / 0.9636 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.0005331/0.007208, allocations: 464.9 kB / 1.006 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.007248, allocations: 12.75 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.00728, allocations: 34.75 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.007752, allocations: 124.6 kB / 1.006 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.008034, allocations: 204.7 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.008045, allocations: 8.359 kB / 1.007 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.00806, allocations: 8.359 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.008301, allocations: 158 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.008308, allocations: 4.125 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.008321, allocations: 3.938 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.008342, allocations: 8 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.008587, allocations: 151.9 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.009063, allocations: 415.7 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.009305, allocations: 158.5 kB / 1.008 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.009447, allocations: 104.8 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.009464, allocations: 4 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.009481, allocations: 38.56 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.009482, allocations: 0 / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0004916/0.009974, allocations: 312.3 kB / 1.008 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.01001, allocations: 55.41 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.01016, allocations: 241.9 kB / 1.008 GB, free: 4.551 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.01019, allocations: 33.69 kB / 1.008 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.01025, allocations: 144 kB / 1.008 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.01028, allocations: 39.64 kB / 1.008 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.01033, allocations: 37.64 kB / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.01042, allocations: 338.8 kB / 1.009 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.01054, allocations: 75.94 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.01066, allocations: 79.92 kB / 1.009 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.01091, allocations: 172.7 kB / 1.009 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01091, allocations: 0 / 1.009 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003134/0.01122, allocations: 232.6 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.01124, allocations: 4 kB / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.01124, allocations: 0 / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01125, allocations: 0 / 1.009 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.01139, allocations: 43.95 kB / 1.009 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.0114, allocations: 0 / 1.009 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.01148, allocations: 19.94 kB / 1.009 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.01149, allocations: 7.984 kB / 1.009 GB, free: 3.316 MB / 0.9636 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 8.237e-05/0.01157, allocations: 149.6 kB / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.0116, allocations: 23.86 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.01163, allocations: 29.77 kB / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01163, allocations: 4 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01164, allocations: 0 / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01164, allocations: 0 / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.01182, allocations: 228.6 kB / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.01182, allocations: 0 / 1.01 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01192, allocations: 35.95 kB / 1.01 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01192, allocations: 4 kB / 1.01 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.01193, allocations: 4 kB / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01193, allocations: 0 / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01193, allocations: 0 / 1.01 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.01227, allocations: 335.1 kB / 1.01 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.01232, allocations: 43.83 kB / 1.01 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.01234, allocations: 0 / 1.01 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.01243, allocations: 11.98 kB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.01247, allocations: 11.98 kB / 1.01 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01249, allocations: 15.97 kB / 1.01 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.614e-05/0.01258, allocations: 181.2 kB / 1.01 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01258, allocations: 0 / 1.01 GB, free: 2.199 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001709/0.01275, allocations: 35.94 kB / 1.01 GB, free: 2.164 MB / 0.9636 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.0004955/0.01325, allocations: 0.8645 MB / 1.011 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002907/0.01354, allocations: 175.8 kB / 1.011 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.01354, allocations: 4 kB / 1.011 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.01367, allocations: 94.73 kB / 1.012 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.01393, allocations: 56.39 kB / 1.012 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.0161, allocations: 2.386 MB / 1.014 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.009e-05/0.01618, allocations: 136.1 kB / 1.014 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.01632, allocations: 57.45 kB / 1.014 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.01641, allocations: 60.47 kB / 1.014 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of SimCode: time 9.22e-07/0.01641, allocations: 7.938 kB / 1.014 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/0.0334, allocations: 5.615 MB / 1.02 GB, free: 8.785 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.322/6.355, allocations: 7.453 kB / 1.02 GB, free: 8.781 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.255680159665644]