Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004934/0.004934, allocations: 104 kB / 15.73 MB, free: 5.949 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.001065/0.001065, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7861, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002201/0.7884, allocations: 1.266 MB / 1.089 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.7887, allocations: 122 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.7888, allocations: 1 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.7888, allocations: 0.5156 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.7889, allocations: 1.516 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.7892, allocations: 50.53 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.7893, allocations: 11.34 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.7893, allocations: 3.75 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.407e-05/0.7894, allocations: 2.531 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.7894, allocations: 9.516 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.7894, allocations: 0 / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.7896, allocations: 51.34 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.7896, allocations: 1.609 kB / 1.089 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.7897, allocations: 10.78 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.7898, allocations: 41.81 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7898, allocations: 5.031 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7898, allocations: 0.6562 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7898, allocations: 0 / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003391/0.7902, allocations: 329.7 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.7902, allocations: 9.656 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.004e-05/0.7903, allocations: 2.531 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.7904, allocations: 166.6 kB / 1.09 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.7904, allocations: 5.438 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.7904, allocations: 5.25 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.107e-05/0.7905, allocations: 34.91 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.7905, allocations: 0 / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.7905, allocations: 0 / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7905, allocations: 1.125 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.7905, allocations: 4.125 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.7907, allocations: 151.4 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.7907, allocations: 33.27 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.7908, allocations: 12.39 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.7914, allocations: 0.6063 MB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.7914, allocations: 36.5 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7914, allocations: 3.938 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.7915, allocations: 36.64 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.7916, allocations: 56.33 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.7916, allocations: 99.84 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.7917, allocations: 26.27 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.7917, allocations: 81.39 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.7917, allocations: 5.844 kB / 1.091 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.7917, allocations: 17.55 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.7918, allocations: 312 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.7918, allocations: 5.922 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.7918, allocations: 6.641 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.7919, allocations: 19.05 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7919, allocations: 1.156 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.575e-05/0.7919, allocations: 39.47 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.792, allocations: 5.453 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.792, allocations: 0.8438 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.792, allocations: 0 / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.792, allocations: 4.328 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.792, allocations: 4.094 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.7921, allocations: 5.734 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.7921, allocations: 0 / 1.091 GB, free: 2.219 MB / 0.8575 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.186e-05/0.7921, allocations: 112.6 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.7921, allocations: 4.781 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.132e-05/0.7922, allocations: 51.06 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.7923, allocations: 0 / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7923, allocations: 1.062 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7923, allocations: 0.5469 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.953e-05/0.7923, allocations: 156.5 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7924, allocations: 8.453 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.7924, allocations: 3.875 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.7924, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.7924, allocations: 1.062 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7924, allocations: 0.6094 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7924, allocations: 1.094 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.527e-05/0.7925, allocations: 73.06 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.7925, allocations: 82.48 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.7925, allocations: 5.859 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.51e-05/0.7925, allocations: 0 / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.7926, allocations: 1.625 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.7926, allocations: 1.844 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.016e-05/0.7926, allocations: 77.92 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7926, allocations: 1.156 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002088/0.7928, allocations: 15.61 kB / 1.092 GB, free: 1.594 MB / 0.8575 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.00015/0.793, allocations: 124.7 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.7931, allocations: 11.81 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7931, allocations: 1.125 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.7931, allocations: 4.25 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.7933, allocations: 8.828 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.7936, allocations: 105.8 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.7938, allocations: 0.6781 MB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.7938, allocations: 3.359 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.7938, allocations: 9.219 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.7938, allocations: 0 / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.003039/0.7969, allocations: 0.6087 MB / 1.094 GB, free: 16.59 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches