Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_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.007567/0.007567, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001137/0.001137, allocations: 200.2 kB / 16.68 MB, free: 5.906 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.412/2.412, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.89 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7814, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003436/0.7849, allocations: 2.096 MB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.7868, allocations: 1.172 MB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.787, allocations: 4 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.7875, allocations: 119.3 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.7877, allocations: 47.52 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.7885, allocations: 261.6 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.7889, allocations: 319.2 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.7891, allocations: 91.03 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.7892, allocations: 107.6 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.7894, allocations: 131.4 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.391e-05/0.7895, allocations: 36 kB / 1.212 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.7899, allocations: 223.7 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.79, allocations: 95.67 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.7902, allocations: 151.2 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.7909, allocations: 0.553 MB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7909, allocations: 4 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7909, allocations: 0 / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.7909, allocations: 0 / 1.213 GB, free: 8.207 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001388/0.7923, allocations: 0.8089 MB / 1.213 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.7923, allocations: 8.031 kB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.7924, allocations: 50.73 kB / 1.213 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.475e-05/0.7925, allocations: 36.47 kB / 1.213 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.7929, allocations: 324.3 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.793, allocations: 12.66 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.793, allocations: 16.38 kB / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/0.7936, allocations: 303 kB / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.7937, allocations: 0 / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.7937, allocations: 8 kB / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.7937, allocations: 3.938 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006812/0.7944, allocations: 276.4 kB / 1.214 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.7954, allocations: 0.6646 MB / 1.215 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.796, allocations: 222.6 kB / 1.215 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.7964, allocations: 192.7 kB / 1.215 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.7964, allocations: 0 / 1.215 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.7964, allocations: 38.5 kB / 1.215 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.7964, allocations: 0 / 1.215 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.00138/0.7978, allocations: 0.6661 MB / 1.216 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.7979, allocations: 144.5 kB / 1.216 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.7983, allocations: 376.5 kB / 1.217 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.7984, allocations: 25.7 kB / 1.217 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.7985, allocations: 172.2 kB / 1.217 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.7986, allocations: 47.38 kB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/0.7986, allocations: 45.81 kB / 1.217 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7988, allocations: 346.7 kB / 1.217 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/0.7992, allocations: 243.8 kB / 1.217 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.7997, allocations: 234.2 kB / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.8006, allocations: 0.6913 MB / 1.218 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8006, allocations: 0 / 1.218 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001074/0.8017, allocations: 0.7277 MB / 1.219 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.8018, allocations: 178.2 kB / 1.219 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.8018, allocations: 4 kB / 1.219 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8019, allocations: 4 kB / 1.219 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.802, allocations: 31.95 kB / 1.219 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.8021, allocations: 0 / 1.219 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.8023, allocations: 43.72 kB / 1.219 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.8023, allocations: 8 kB / 1.219 GB, free: 0.8867 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.0002417/0.8026, allocations: 262.8 kB / 1.22 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.8026, allocations: 31.72 kB / 1.22 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.8027, allocations: 26.94 kB / 1.22 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.8027, allocations: 7.984 kB / 1.22 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8027, allocations: 0 / 1.22 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8027, allocations: 0 / 1.22 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.8031, allocations: 353.2 kB / 1.22 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8031, allocations: 0 / 1.22 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.8033, allocations: 31.97 kB / 1.22 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8033, allocations: 4 kB / 1.22 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.8033, allocations: 8 kB / 1.22 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8033, allocations: 0 / 1.22 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8033, allocations: 0 / 1.22 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/0.8043, allocations: 0.6249 MB / 1.221 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.8044, allocations: 112.8 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.8045, allocations: 4 kB / 1.221 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.8047, allocations: 27.97 kB / 1.221 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.8048, allocations: 27.95 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.8049, allocations: 4 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002803/0.8051, allocations: 279 kB / 1.221 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8051, allocations: 0 / 1.221 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004148/0.8056, allocations: 107.8 kB / 1.221 GB, free: 14.87 MB / 0.9512 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.001487/0.8071, allocations: 1.213 MB / 1.222 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.8082, allocations: 0.8391 MB / 1.223 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8082, allocations: 0 / 1.223 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004912/0.8087, allocations: 378 kB / 1.223 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.8092, allocations: 65.94 kB / 1.224 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.815, allocations: 4.437 MB / 1.228 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.8154, allocations: 0.7792 MB / 1.229 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.8155, allocations: 29.94 kB / 1.229 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.8156, allocations: 87.41 kB / 1.229 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.8156, allocations: 0 / 1.229 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.8432, allocations: 8.895 MB / 1.237 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.581, allocations: 14.27 kB / 1.237 GB, free: 14.1 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches