Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_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_10_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.001147/0.001147, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007942/0.007942, allocations: 170.5 kB / 16.26 MB, free: 6.617 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.851/2.851, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003328, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7163, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001594/0.718, allocations: 1.015 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.7187, allocations: 315 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.7187, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.7187, allocations: 3.984 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.7189, allocations: 11.92 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.7192, allocations: 51.81 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.7193, allocations: 35.91 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.7193, allocations: 0 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.7195, allocations: 31.8 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.7195, allocations: 19.92 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.7196, allocations: 0 / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.7198, allocations: 79.91 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.7198, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.7198, allocations: 41.62 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.72, allocations: 73.81 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.72, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.786e-06/0.7201, allocations: 4 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.7201, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.7794 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.0005469/0.7206, allocations: 347.5 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.7207, allocations: 8.031 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.074e-05/0.7207, allocations: 8.844 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.7209, allocations: 164.3 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.7209, allocations: 4.375 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.7209, allocations: 384 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.721, allocations: 45.81 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7211, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.7211, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7211, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/0.7211, allocations: 19.91 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.7214, allocations: 161.6 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.7215, allocations: 34.56 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.7215, allocations: 8.922 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/0.7231, allocations: 1.191 MB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.7232, allocations: 34.5 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.7232, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.7234, allocations: 53.62 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.7234, allocations: 51.41 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.7235, allocations: 117.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.7236, allocations: 25.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.7236, allocations: 80.14 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.7236, allocations: 7.891 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.7237, allocations: 13.72 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7239, allocations: 318.8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.7239, allocations: 3.984 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.032e-05/0.7239, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.7239, allocations: 20.8 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.724, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.02e-05/0.724, allocations: 53.53 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.7241, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.7241, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7241, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.7242, allocations: 4 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7242, allocations: 4 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.7242, allocations: 0 / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.7242, allocations: 4 kB / 1.027 GB, free: 10.91 MB / 0.7794 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.0001003/0.7243, allocations: 114.6 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.7243, allocations: 11.94 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.7245, allocations: 53.53 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.7245, allocations: 4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7245, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.7245, allocations: 4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.7247, allocations: 157.6 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7247, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.7247, allocations: 11.92 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.7248, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.7248, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7248, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7248, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.725, allocations: 81.33 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.7251, allocations: 89.03 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.7251, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.7252, allocations: 4 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.7252, allocations: 7.938 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.7252, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.938e-05/0.7253, allocations: 95.5 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7253, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002431/0.7256, allocations: 32 kB / 1.028 GB, free: 10.15 MB / 0.7794 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.0002204/0.7258, allocations: 119.2 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.041e-05/0.7259, allocations: 15.98 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7259, allocations: 0 / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.7259, allocations: 15.94 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.7261, allocations: 5.828 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.7264, allocations: 142.6 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.7268, allocations: 0.6809 MB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.7268, allocations: 4 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.7269, allocations: 11.44 kB / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7269, allocations: 0 / 1.029 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of Templates: time 0.003357/0.7302, allocations: 0.7665 MB / 1.03 GB, free: 8.336 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches