Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.004828/0.004828, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001342/0.001342, allocations: 197.2 kB / 16.67 MB, free: 5.977 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.36/2.36, allocations: 437.1 MB / 0.7106 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2508, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003336/0.2542, allocations: 2.103 MB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.256, allocations: 1.169 MB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2561, allocations: 4 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.2565, allocations: 111.3 kB / 1.17 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.2566, allocations: 55.56 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006862/0.2573, allocations: 247.8 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.2577, allocations: 319.3 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2579, allocations: 103 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.258, allocations: 111.6 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.2582, allocations: 123.5 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.2582, allocations: 28 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.2586, allocations: 231.7 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.2587, allocations: 83.75 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.2589, allocations: 155.1 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.2595, allocations: 0.5566 MB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2595, allocations: 0 / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2595, allocations: 4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2595, allocations: 0 / 1.171 GB, free: 1.871 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001095/0.2606, allocations: 0.8161 MB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2606, allocations: 12.03 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.2607, allocations: 50.67 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.2608, allocations: 40.7 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.2612, allocations: 324.7 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.2612, allocations: 12.66 kB / 1.173 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/0.2612, allocations: 16.38 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005663/0.2618, allocations: 291 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2618, allocations: 0 / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.2618, allocations: 8 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2619, allocations: 7.938 kB / 1.173 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.2625, allocations: 272.4 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009148/0.2635, allocations: 0.6758 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.264, allocations: 230.5 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.2644, allocations: 192.7 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2644, allocations: 4 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.2644, allocations: 30.56 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.2644, allocations: 0 / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.001346/0.2658, allocations: 0.6703 MB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.2659, allocations: 140.5 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.2663, allocations: 384.4 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2664, allocations: 29.7 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.2665, allocations: 168.3 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.2665, allocations: 43.64 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.2666, allocations: 49.7 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2668, allocations: 346.7 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.2672, allocations: 235.9 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004334/0.2677, allocations: 240.5 kB / 1.177 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/0.2686, allocations: 0.6818 MB / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2686, allocations: 0 / 1.177 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001112/0.2698, allocations: 0.7245 MB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.2699, allocations: 188.2 kB / 1.178 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2699, allocations: 3.938 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.2699, allocations: 0 / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2701, allocations: 31.91 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2701, allocations: 4 kB / 1.178 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2703, allocations: 51.75 kB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2703, allocations: 15.92 kB / 1.178 GB, free: 10.52 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: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.000218/0.2706, allocations: 257.9 kB / 1.178 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.2706, allocations: 31.81 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.2707, allocations: 26.94 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2707, allocations: 0 / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2707, allocations: 4 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2707, allocations: 3.984 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.2711, allocations: 353.3 kB / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2711, allocations: 0 / 1.179 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.2712, allocations: 35.91 kB / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2713, allocations: 0 / 1.179 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.2713, allocations: 4 kB / 1.179 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2713, allocations: 3.984 kB / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2713, allocations: 0 / 1.179 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.2723, allocations: 0.6213 MB / 1.18 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.2724, allocations: 116.8 kB / 1.18 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.2724, allocations: 4 kB / 1.18 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2726, allocations: 27.97 kB / 1.18 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.2727, allocations: 31.97 kB / 1.18 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2728, allocations: 4 kB / 1.18 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002971/0.2731, allocations: 271 kB / 1.18 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.387e-06/0.2731, allocations: 0 / 1.18 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003591/0.2734, allocations: 111.8 kB / 1.18 GB, free: 8.508 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.00143/0.2749, allocations: 1.224 MB / 1.181 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.2761, allocations: 0.8437 MB / 1.182 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2761, allocations: 0 / 1.182 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.2766, allocations: 374.1 kB / 1.182 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.277, allocations: 73.33 kB / 1.183 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.2827, allocations: 4.432 MB / 1.187 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.2831, allocations: 0.7831 MB / 1.188 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.599e-05/0.2832, allocations: 21.95 kB / 1.188 GB, free: 488 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2833, allocations: 91.41 kB / 1.188 GB, free: 396 kB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2833, allocations: 7.938 kB / 1.188 GB, free: 388 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/0.5219, allocations: 8.72 MB / 1.196 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.89, allocations: 3.062 kB / 1.196 GB, free: 7.883 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches