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.002086/0.002086, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.002071/0.002071, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.6/1.6, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 482.4 MB / 0.755 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 71.73 kB / 0.924 GB, free: 320 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.084, allocations: 162.2 MB / 1.082 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002732/1.086, allocations: 1.341 MB / 1.084 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000606/1.087, allocations: 306 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/1.087, allocations: 4 kB / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/1.087, allocations: 1.359 kB / 1.084 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/1.087, allocations: 9.25 kB / 1.084 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/1.088, allocations: 62.72 kB / 1.084 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.95e-05/1.088, allocations: 38.86 kB / 1.084 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/1.088, allocations: 6.562 kB / 1.084 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/1.088, allocations: 25.11 kB / 1.084 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/1.088, allocations: 10.56 kB / 1.084 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/1.088, allocations: 1.969 kB / 1.084 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/1.088, allocations: 82.41 kB / 1.084 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/1.088, allocations: 5.75 kB / 1.084 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/1.088, allocations: 17.95 kB / 1.084 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/1.088, allocations: 51.52 kB / 1.084 GB, free: 364 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.088, allocations: 0 / 1.084 GB, free: 364 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/1.088, allocations: 0 / 1.084 GB, free: 364 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.088, allocations: 0.875 kB / 1.084 GB, free: 364 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.0004181/1.089, allocations: 357.7 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.089, allocations: 10.03 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/1.089, allocations: 7.922 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.089, allocations: 178.9 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/1.089, allocations: 5.172 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/1.089, allocations: 1.625 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.089, allocations: 43.52 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.089, allocations: 4 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/1.089, allocations: 0.6875 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.089, allocations: 0 / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/1.089, allocations: 13.58 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/1.09, allocations: 155.9 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/1.09, allocations: 41.2 kB / 1.085 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/1.09, allocations: 14.83 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/1.091, allocations: 1.184 MB / 1.086 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.091, allocations: 40.61 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.091, allocations: 0 / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000202/1.092, allocations: 56.33 kB / 1.086 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/1.092, allocations: 52.06 kB / 1.086 GB, free: 14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/1.092, allocations: 106.9 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/1.092, allocations: 26.95 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/1.092, allocations: 80.14 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/1.092, allocations: 10.34 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/1.092, allocations: 19.48 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.092, allocations: 317.1 kB / 1.087 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/1.092, allocations: 3.297 kB / 1.087 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/1.092, allocations: 3.844 kB / 1.087 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/1.092, allocations: 17.55 kB / 1.087 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.092, allocations: 0 / 1.087 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.849e-05/1.092, allocations: 56.72 kB / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.092, allocations: 5.562 kB / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.092, allocations: 0.6094 kB / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.092, allocations: 5.094 kB / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/1.092, allocations: 5.359 kB / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/1.092, allocations: 0 / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/1.092, allocations: 1.5 kB / 1.087 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/1.092, allocations: 0.875 kB / 1.087 GB, free: 13.38 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 0.0001006/1.092, allocations: 108.8 kB / 1.087 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/1.093, allocations: 7.5 kB / 1.087 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/1.093, allocations: 68.61 kB / 1.087 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.093, allocations: 1.469 kB / 1.087 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.093, allocations: 0 / 1.087 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.093, allocations: 0.9375 kB / 1.087 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/1.093, allocations: 160 kB / 1.087 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.093, allocations: 4.547 kB / 1.087 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/1.093, allocations: 13.52 kB / 1.087 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.093, allocations: 1.312 kB / 1.087 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/1.093, allocations: 0.6562 kB / 1.087 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.093, allocations: 5.094 kB / 1.087 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.093, allocations: 0 / 1.087 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/1.093, allocations: 75.75 kB / 1.087 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/1.093, allocations: 85.56 kB / 1.088 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.093, allocations: 1.641 kB / 1.088 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/1.093, allocations: 5.797 kB / 1.088 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/1.093, allocations: 5.688 kB / 1.088 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/1.093, allocations: 3.125 kB / 1.088 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.13e-05/1.093, allocations: 91.58 kB / 1.088 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/1.093, allocations: 0 / 1.088 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002241/1.094, allocations: 25.41 kB / 1.088 GB, free: 12.73 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.0002841/1.094, allocations: 123.1 kB / 1.088 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.094, allocations: 16.67 kB / 1.088 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.094, allocations: 0.75 kB / 1.088 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.503e-05/1.094, allocations: 6.812 kB / 1.088 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/1.094, allocations: 11.09 kB / 1.088 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/1.095, allocations: 177.2 kB / 1.088 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.095, allocations: 0.6787 MB / 1.089 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/1.095, allocations: 10.41 kB / 1.089 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/1.095, allocations: 0 / 1.089 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.002917/1.098, allocations: 0.733 MB / 1.089 GB, free: 11.69 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