Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8532/0.8532, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.756/1.756, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.092e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001698/0.001719, allocations: 1.298 MB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003902/0.002109, allocations: 251 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.002137, allocations: 4 kB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.002157, allocations: 7.938 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.898e-05/0.002246, allocations: 7.922 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.002503, allocations: 63.72 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.959e-05/0.002572, allocations: 43.78 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.002612, allocations: 4 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.002725, allocations: 39.91 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.002765, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.00278, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.002895, allocations: 71.83 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.002911, allocations: 7.938 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.002929, allocations: 8 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003067, allocations: 83.7 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003069, allocations: 4 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00307, allocations: 0 / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.003075, allocations: 0 / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003151/0.00339, allocations: 278.1 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.003427, allocations: 8.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.003455, allocations: 34.75 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.003741, allocations: 52.8 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.003822, allocations: 113.8 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.003843, allocations: 384 / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.003856, allocations: 4.375 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.004004, allocations: 91.66 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004011, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.004022, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004027, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.004122, allocations: 35.91 kB / 1.002 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.004442, allocations: 228 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.973e-05/0.004532, allocations: 46.55 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.004567, allocations: 20.91 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.004581, allocations: 0 / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.004855, allocations: 38.5 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004856, allocations: 0 / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.005047, allocations: 69.77 kB / 1.002 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.005079, allocations: 51.41 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.005144, allocations: 113.8 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.005155, allocations: 25.7 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/0.005187, allocations: 84.12 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.005204, allocations: 7.953 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.005236, allocations: 17.67 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.005321, allocations: 310.8 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.712e-05/0.005359, allocations: 15.98 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.005387, allocations: 19.95 kB / 1.003 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.39e-05/0.005451, allocations: 32.72 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005454, allocations: 0 / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.903e-05/0.005543, allocations: 57.62 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.005561, allocations: 11.98 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.005566, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.005581, allocations: 0 / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.005647, allocations: 4.094 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.005654, allocations: 4 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.005679, allocations: 7.984 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.005685, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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 5.995e-05/0.005745, allocations: 117.7 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.005759, allocations: 3.984 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.005789, allocations: 7.625 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.005792, allocations: 4 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.005797, allocations: 3.938 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005801, allocations: 0 / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.00592, allocations: 136.7 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005922, allocations: 4 kB / 1.003 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.005953, allocations: 7.984 kB / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005955, allocations: 0 / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.005963, allocations: 0 / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005964, allocations: 0 / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005965, allocations: 0 / 1.003 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.006096, allocations: 155.4 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.006131, allocations: 8 kB / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.006144, allocations: 0 / 1.004 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.006184, allocations: 12.02 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.006204, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006208, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.006243, allocations: 87.27 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006243, allocations: 0 / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001509/0.006394, allocations: 11.94 kB / 1.004 GB, free: 9.035 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.0003608/0.006754, allocations: 0.6819 MB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.006863, allocations: 32 kB / 1.004 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.006865, allocations: 3.938 kB / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.006892, allocations: 15.94 kB / 1.004 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.007141, allocations: 7.984 kB / 1.004 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.007525, allocations: 162.4 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.678e-05/0.007571, allocations: 67.47 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.007606, allocations: 3.906 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.007644, allocations: 12.5 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/0.007645, allocations: 0 / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.0237, allocations: 1.893 MB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.202, allocations: 0 / 1.007 GB, free: 6.215 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.260015410371125]