Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.007338/0.007338, allocations: 96.72 kB / 15.73 MB, free: 6 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.002179/0.002179, allocations: 186.2 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.322/2.322, allocations: 437.1 MB / 0.7106 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2364, allocations: 151.6 MB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002257/0.2387, allocations: 1.542 MB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 8.662e-05/0.2388, allocations: 27.81 kB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.2388, allocations: 4 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.783e-05/0.2389, allocations: 11.92 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.905e-05/0.239, allocations: 11.86 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.357e-05/0.2391, allocations: 19.97 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.351e-05/0.2391, allocations: 43.91 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2393, allocations: 35.94 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.2393, allocations: 23.86 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.2394, allocations: 23.92 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2394, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.2394, allocations: 4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.2394, allocations: 23.91 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.2395, allocations: 31.8 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.178e-05/0.2396, allocations: 63.97 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2396, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2396, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.2396, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003594/0.24, allocations: 365.3 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.24, allocations: 8.031 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.24, allocations: 38.75 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.2401, allocations: 12.89 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2402, allocations: 184.2 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-06/0.2402, allocations: 8.375 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2403, allocations: 8.375 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.2404, allocations: 96.73 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2404, allocations: 7.938 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2404, allocations: 7.984 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2405, allocations: 0 / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.2405, allocations: 43.91 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.2411, allocations: 0.6441 MB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.266e-05/0.2411, allocations: 165.1 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.2412, allocations: 80.14 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2412, allocations: 83.28 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.2413, allocations: 105.8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 4.759e-06/0.2413, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 6.244e-05/0.2413, allocations: 45.52 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.2414, allocations: 130.7 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.2416, allocations: 164.1 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.2416, allocations: 29.7 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.2416, allocations: 108 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.2417, allocations: 4 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.2417, allocations: 13.72 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2418, allocations: 322.8 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.2418, allocations: 3.984 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.2419, allocations: 22.58 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.2419, allocations: 34.52 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2419, allocations: 0 / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001025/0.242, allocations: 57.58 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.242, allocations: 4 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.242, allocations: 3.938 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2421, allocations: 4.094 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.2421, allocations: 8 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.2421, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.2422, allocations: 7.953 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-06/0.2422, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001026/0.2423, allocations: 197 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.2423, allocations: 108.9 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.2424, allocations: 120.7 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-05/0.2425, allocations: 192.2 kB / 1.171 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-05/0.2425, allocations: 176.3 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-05/0.2426, allocations: 184.2 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.2429, allocations: 421.2 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/0.2429, allocations: 105 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.243, allocations: 108.9 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.695e-05/0.243, allocations: 180.3 kB / 1.172 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-05/0.2431, allocations: 184.1 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-05/0.2432, allocations: 184.5 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.826e-05/0.2433, allocations: 184.2 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.2434, allocations: 315.8 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.2435, allocations: 190 kB / 1.173 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.2436, allocations: 184.2 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.2437, allocations: 101 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.2437, allocations: 184.2 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.2438, allocations: 105 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.91e-05/0.2439, allocations: 135.7 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2439, allocations: 0 / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000219/0.2441, allocations: 8 kB / 1.174 GB, free: 14.71 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 (0): * Single equations (assignments): 0 * 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.0003913/0.2445, allocations: 0.8164 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.559e-05/0.2446, allocations: 15.92 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.2446, allocations: 0 / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.2446, allocations: 0 / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.2449, allocations: 467.6 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2462, allocations: 1.634 MB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.2465, allocations: 0.6885 MB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.2465, allocations: 7.984 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.2466, allocations: 19.44 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2466, allocations: 4 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.333/2.579, allocations: 1.697 MB / 1.179 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/17.33, allocations: 8.719 kB / 1.179 GB, free: 9.328 MB / 0.9356 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches