Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_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.006125/0.006125, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001248/0.001248, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2813, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003354/0.2847, allocations: 2.139 MB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004772/0.2895, allocations: 3.793 MB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2897, allocations: 4 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.29, allocations: 59.55 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004418/0.2905, allocations: 119.1 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.2909, allocations: 155.6 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.2913, allocations: 318.8 kB / 1.173 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2915, allocations: 65.12 kB / 1.173 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002557/0.2918, allocations: 127.5 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.292, allocations: 147.4 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.292, allocations: 24 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.2923, allocations: 135.8 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.2924, allocations: 55.77 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.2925, allocations: 123.4 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.293, allocations: 335 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.293, allocations: 3.984 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.293, allocations: 0 / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.293, allocations: 4 kB / 1.174 GB, free: 15.64 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.001255/0.2943, allocations: 0.623 MB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2943, allocations: 15.91 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.2944, allocations: 46.75 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.2953, allocations: 180.4 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.296, allocations: 320.3 kB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2961, allocations: 12.31 kB / 1.175 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.2961, allocations: 12 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.2968, allocations: 224 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2968, allocations: 4 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2968, allocations: 8 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2968, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009309/0.2978, allocations: 279.7 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.2991, allocations: 0.5706 MB / 1.176 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.2996, allocations: 170.4 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.3001, allocations: 160.7 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008614/0.301, allocations: 0.5493 MB / 1.177 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.301, allocations: 38.56 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.485e-06/0.301, allocations: 7.938 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001663/0.3027, allocations: 484.9 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.3028, allocations: 63.41 kB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.3031, allocations: 264.5 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.3031, allocations: 29.7 kB / 1.177 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3032, allocations: 144 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/0.3033, allocations: 47.3 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.3034, allocations: 37.69 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3035, allocations: 338.8 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.304, allocations: 147.9 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.3045, allocations: 147.9 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.3054, allocations: 290.6 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3054, allocations: 0 / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001095/0.3065, allocations: 373 kB / 1.179 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3066, allocations: 4 kB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3066, allocations: 4 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3066, allocations: 0 / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.307, allocations: 63.92 kB / 1.179 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.307, allocations: 0 / 1.179 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.3074, allocations: 51.72 kB / 1.179 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.3074, allocations: 15.94 kB / 1.179 GB, free: 9.652 MB / 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.0001372/0.3075, allocations: 125.8 kB / 1.179 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.3076, allocations: 27.62 kB / 1.179 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3087, allocations: 375.3 kB / 1.18 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.3088, allocations: 7.984 kB / 1.18 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3088, allocations: 3.938 kB / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3088, allocations: 3.938 kB / 1.18 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.3091, allocations: 301.5 kB / 1.18 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3091, allocations: 0 / 1.18 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.3095, allocations: 67.86 kB / 1.18 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3095, allocations: 0 / 1.18 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3096, allocations: 11.98 kB / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3096, allocations: 0 / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3096, allocations: 3.984 kB / 1.18 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3107, allocations: 454.8 kB / 1.18 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3108, allocations: 120.7 kB / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.3108, allocations: 4 kB / 1.181 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.3112, allocations: 39.95 kB / 1.181 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.3112, allocations: 19.91 kB / 1.181 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3113, allocations: 4 kB / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001635/0.3114, allocations: 187.1 kB / 1.181 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3115, allocations: 0 / 1.181 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003556/0.3118, allocations: 67.92 kB / 1.181 GB, free: 7.762 MB / 0.9356 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.00147/0.3133, allocations: 1.016 MB / 1.182 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.3144, allocations: 317.8 kB / 1.182 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3144, allocations: 4 kB / 1.182 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.3149, allocations: 159.8 kB / 1.182 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.3154, allocations: 39.38 kB / 1.182 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/0.3204, allocations: 2.875 MB / 1.185 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3207, allocations: 0.7513 MB / 1.186 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002163/0.3209, allocations: 41.39 kB / 1.186 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3211, allocations: 83.39 kB / 1.186 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of SimCode: time 5.31e-07/0.3211, allocations: 3.938 kB / 1.186 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.3448, allocations: 5.819 MB / 1.192 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.131, allocations: 12.67 kB / 1.192 GB, free: 12.7 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches