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.005863/0.005863, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001352/0.001352, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3336, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003434/0.3371, allocations: 2.141 MB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004546/0.3417, allocations: 3.805 MB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.3419, allocations: 4 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.3422, allocations: 59.5 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.3426, allocations: 123.1 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.343, allocations: 151.6 kB / 1.213 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.3435, allocations: 306.9 kB / 1.214 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3436, allocations: 64.69 kB / 1.214 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.3439, allocations: 135.5 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3441, allocations: 147.4 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.3441, allocations: 20 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.3444, allocations: 127.8 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.3445, allocations: 63.73 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.3446, allocations: 119.3 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.3451, allocations: 342.8 kB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3451, allocations: 0 / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3451, allocations: 0 / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3451, allocations: 0 / 1.215 GB, free: 2.516 MB / 0.9669 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.001243/0.3463, allocations: 0.6308 MB / 1.215 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3464, allocations: 8.625 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.3464, allocations: 50.73 kB / 1.215 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.3474, allocations: 164.3 kB / 1.215 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.3481, allocations: 336.2 kB / 1.216 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3481, allocations: 12.31 kB / 1.216 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.3482, allocations: 12 kB / 1.216 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.3489, allocations: 223.9 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3489, allocations: 0 / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.3489, allocations: 8 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3489, allocations: 0 / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000937/0.3499, allocations: 283.5 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.3512, allocations: 0.5746 MB / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/0.3517, allocations: 170.5 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.3522, allocations: 156.7 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008499/0.3531, allocations: 0.5454 MB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3531, allocations: 34.56 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.3531, allocations: 4 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.001589/0.3547, allocations: 489.2 kB / 1.218 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.3547, allocations: 59.34 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.355, allocations: 264.5 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.355, allocations: 33.7 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.3551, allocations: 144 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.3552, allocations: 51.2 kB / 1.219 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.028e-05/0.3553, allocations: 37.69 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3554, allocations: 338.8 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.3559, allocations: 143.9 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.3564, allocations: 149.4 kB / 1.219 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.3573, allocations: 298 kB / 1.22 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3574, allocations: 0 / 1.22 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001063/0.3584, allocations: 366.4 kB / 1.22 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.3585, allocations: 12 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3585, allocations: 0 / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3585, allocations: 0 / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.3589, allocations: 71.91 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.359, allocations: 0 / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.3593, allocations: 39.89 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.3593, allocations: 11.98 kB / 1.22 GB, free: 12.54 MB / 0.9825 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.0001392/0.3595, allocations: 133.7 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.3595, allocations: 27.62 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.3607, allocations: 385.1 kB / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3607, allocations: 0 / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3607, allocations: 4 kB / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3607, allocations: 3.938 kB / 1.221 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.3611, allocations: 297.5 kB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3611, allocations: 0 / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.3615, allocations: 67.84 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3615, allocations: 4 kB / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3615, allocations: 4 kB / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3615, allocations: 0 / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3616, allocations: 0 / 1.221 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.3626, allocations: 450.8 kB / 1.221 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3627, allocations: 112.8 kB / 1.222 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.3628, allocations: 11.94 kB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.3631, allocations: 39.94 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.3632, allocations: 19.91 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3633, allocations: 7.984 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000161/0.3634, allocations: 187.1 kB / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3634, allocations: 0 / 1.222 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003628/0.3638, allocations: 75.83 kB / 1.222 GB, free: 10.64 MB / 0.9825 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.001494/0.3653, allocations: 1.011 MB / 1.223 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.3664, allocations: 319.6 kB / 1.223 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3664, allocations: 4 kB / 1.223 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.3669, allocations: 163.8 kB / 1.223 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3674, allocations: 40.5 kB / 1.223 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.3724, allocations: 2.883 MB / 1.226 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3728, allocations: 0.7435 MB / 1.227 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.373, allocations: 53.39 kB / 1.227 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3732, allocations: 79.39 kB / 1.227 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3732, allocations: 0 / 1.227 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02619/0.3994, allocations: 5.922 MB / 1.233 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.141, allocations: 15.11 kB / 1.233 GB, free: 15.46 MB / 0.9981 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