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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004249/0.004249, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001237/0.001237, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.213/1.213, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.174/2.174, allocations: 437.1 MB / 0.7106 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 71.83 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5793, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001858/0.5812, allocations: 1.295 MB / 1.167 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004712/0.5817, allocations: 305.4 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.5817, allocations: 0 / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.5817, allocations: 3.938 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.5818, allocations: 15.91 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.5821, allocations: 75.72 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.306e-05/0.5821, allocations: 35.84 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 2.908e-05/0.5822, allocations: 4 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.5822, allocations: 23.92 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.5823, allocations: 15.92 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.5823, allocations: 4 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.5824, allocations: 75.91 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.5825, allocations: 11.98 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.5825, allocations: 11.88 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.5826, allocations: 79.44 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.5826, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5826, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.5826, allocations: 4 kB / 1.168 GB, free: 1.816 MB / 0.8887 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.0003496/0.583, allocations: 363.2 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.583, allocations: 8.922 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.5831, allocations: 34.69 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.5831, allocations: 4.938 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.5832, allocations: 164.3 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.5832, allocations: 4.375 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.5833, allocations: 4.125 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.955e-05/0.5833, allocations: 41.69 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5834, allocations: 3.938 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.5834, allocations: 4 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.5834, allocations: 0 / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.5834, allocations: 7.984 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.5835, allocations: 157.7 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.5836, allocations: 38.5 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.5837, allocations: 20.86 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.5847, allocations: 1.179 MB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.5847, allocations: 34.56 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5847, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001207/0.5849, allocations: 57.58 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.5849, allocations: 55.41 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.383e-05/0.585, allocations: 109.8 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.585, allocations: 29.64 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.585, allocations: 88.12 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.585, allocations: 7.891 kB / 1.17 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.5851, allocations: 13.72 kB / 1.17 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5852, allocations: 318.8 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.5852, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.034e-05/0.5852, allocations: 7.984 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.5853, allocations: 16.86 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5853, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.622e-05/0.5853, allocations: 57.52 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5853, allocations: 8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.5854, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.5854, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.5854, allocations: 4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.5854, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.5854, allocations: 4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.5854, allocations: 8 kB / 1.171 GB, free: 14.5 MB / 0.9044 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 6.102e-05/0.5855, allocations: 105.8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.5855, allocations: 11.94 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.5856, allocations: 57.52 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5857, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.5857, allocations: 4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5857, allocations: 4 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.5858, allocations: 161.6 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5858, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.5858, allocations: 4 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5858, allocations: 7.984 kB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.5858, allocations: 0 / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5858, allocations: 0 / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5858, allocations: 3.938 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.386e-05/0.5859, allocations: 81.39 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.586, allocations: 81.11 kB / 1.171 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.586, allocations: 48 / 1.171 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.586, allocations: 11.97 kB / 1.171 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.5861, allocations: 0 / 1.171 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.5861, allocations: 7.938 kB / 1.171 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.5861, allocations: 87.22 kB / 1.171 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.5861, allocations: 0 / 1.171 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001802/0.5863, allocations: 31.86 kB / 1.171 GB, free: 13.74 MB / 0.9044 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.0003878/0.5867, allocations: 0.6358 MB / 1.172 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.5868, allocations: 19.98 kB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5868, allocations: 3.938 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.5868, allocations: 4 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.5869, allocations: 14.97 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.5873, allocations: 155.5 kB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.5875, allocations: 0.6807 MB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.5876, allocations: 8 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.5876, allocations: 11.44 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.5876, allocations: 0 / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.693/6.281, allocations: 1.624 MB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/22.5, allocations: 13.45 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > 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/jenkins1/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