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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 102.2 kB / 16.27 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.001937/0.001937, allocations: 191 kB / 17.2 MB, free: 5.609 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.476/1.476, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 74.62 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9876/0.9896, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00255/0.9922, allocations: 1.299 MB / 1.084 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005778/0.9928, allocations: 300.3 kB / 1.084 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.9929, allocations: 4 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.9929, allocations: 4.453 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.993, allocations: 14.95 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.9934, allocations: 73.62 kB / 1.085 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.9935, allocations: 39.97 kB / 1.085 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.9935, allocations: 3.359 kB / 1.085 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.922e-05/0.9936, allocations: 19.86 kB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.9937, allocations: 19.48 kB / 1.085 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.9937, allocations: 0 / 1.085 GB, free: 452 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.9939, allocations: 79.95 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.994, allocations: 9.672 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.994, allocations: 13.66 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.9942, allocations: 81.33 kB / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9942, allocations: 0 / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9942, allocations: 0 / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9942, allocations: 0 / 1.085 GB, free: 392 kB / 0.8262 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.0003559/0.9946, allocations: 349 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.9946, allocations: 10.16 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.9947, allocations: 6.25 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.9948, allocations: 171.9 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.9949, allocations: 5.281 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.9949, allocations: 1.469 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.995, allocations: 42.98 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.995, allocations: 1.031 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.995, allocations: 5.562 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9951, allocations: 0 / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.9951, allocations: 9.078 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.9953, allocations: 155.5 kB / 1.086 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.9954, allocations: 40.11 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.865e-05/0.9955, allocations: 17.91 kB / 1.086 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/0.9968, allocations: 1.18 MB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.9969, allocations: 40.12 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.9969, allocations: 0.9688 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001778/0.9971, allocations: 55.66 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.9971, allocations: 57.5 kB / 1.087 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.9972, allocations: 106.3 kB / 1.087 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.9972, allocations: 25.7 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.9973, allocations: 84.83 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.9973, allocations: 10.09 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.9974, allocations: 20.27 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9975, allocations: 315.6 kB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.9976, allocations: 4.203 kB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.9976, allocations: 3.5 kB / 1.087 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.9976, allocations: 18.31 kB / 1.087 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9976, allocations: 0 / 1.087 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.723e-05/0.9977, allocations: 52.5 kB / 1.087 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9978, allocations: 9.375 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9978, allocations: 0 / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9978, allocations: 6.109 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.9979, allocations: 4.359 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.9979, allocations: 1.469 kB / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.9979, allocations: 0 / 1.088 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.9979, allocations: 2.203 kB / 1.088 GB, free: 13.42 MB / 0.8419 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 (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 9.249e-05/0.998, allocations: 108.3 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.998, allocations: 6.312 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.9982, allocations: 62.83 kB / 1.088 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.9982, allocations: 0 / 1.088 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9982, allocations: 0 / 1.088 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.9982, allocations: 2.047 kB / 1.088 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.9984, allocations: 158.7 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9984, allocations: 9.125 kB / 1.088 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.9984, allocations: 10.03 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.9984, allocations: 0 / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.9984, allocations: 5.719 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.9984, allocations: 320 / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9984, allocations: 4.688 kB / 1.088 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.9986, allocations: 79.42 kB / 1.088 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.9986, allocations: 86.92 kB / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.9987, allocations: 0 / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.9987, allocations: 1.609 kB / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.9987, allocations: 2.594 kB / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.9987, allocations: 2.391 kB / 1.088 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.9988, allocations: 95.47 kB / 1.088 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9988, allocations: 0 / 1.088 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002371/0.9991, allocations: 25.88 kB / 1.088 GB, free: 12.77 MB / 0.8419 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 (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 Backend phase and start with SimCode phase: time 0.0002427/0.9993, allocations: 130.1 kB / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.9994, allocations: 11.84 kB / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9994, allocations: 0 / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.9995, allocations: 7.609 kB / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.9997, allocations: 7.891 kB / 1.088 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/1, allocations: 173.4 kB / 1.088 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/1, allocations: 0.6792 MB / 1.089 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/1, allocations: 12 kB / 1.089 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/1, allocations: 0 / 1.089 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.002712/1.003, allocations: 0.7216 MB / 1.09 GB, free: 11.74 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches