Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_11_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.004867/0.004867, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001358/0.001358, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.394/2.394, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 63.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6165, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00196/0.6185, allocations: 1.28 MB / 1.221 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.619, allocations: 302.9 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.619, allocations: 4 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.619, allocations: 3.938 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/0.6191, allocations: 11.91 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.6194, allocations: 83.69 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.6195, allocations: 35.89 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.346e-05/0.6195, allocations: 4 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.6196, allocations: 23.86 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.6196, allocations: 15.92 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.6197, allocations: 4 kB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.6198, allocations: 79.91 kB / 1.222 GB, free: 148 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.6198, allocations: 7.938 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.6199, allocations: 11.94 kB / 1.222 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.62, allocations: 75.44 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.62, allocations: 0 / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.62, allocations: 0 / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.62, allocations: 0 / 1.222 GB, free: 56 kB / 0.9356 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.0003716/0.6204, allocations: 355.3 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.6205, allocations: 12.02 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.6205, allocations: 38.75 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.6205, allocations: 8.891 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.6207, allocations: 164.4 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.6207, allocations: 4.375 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.6207, allocations: 4.125 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/0.6208, allocations: 41.62 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.6208, allocations: 0 / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6208, allocations: 4 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6208, allocations: 3.984 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.295e-05/0.6208, allocations: 11.98 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.621, allocations: 157.7 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.4e-05/0.6211, allocations: 30.58 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.6211, allocations: 16.86 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.6222, allocations: 1.183 MB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.6222, allocations: 34.5 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.6222, allocations: 4 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001318/0.6224, allocations: 53.58 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.6224, allocations: 51.41 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.198e-05/0.6225, allocations: 113.8 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.6225, allocations: 29.7 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.6225, allocations: 84.12 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.6226, allocations: 7.953 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.6226, allocations: 17.67 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6227, allocations: 318.8 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.6227, allocations: 0 / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.6227, allocations: 11.92 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.6228, allocations: 16.86 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.6228, allocations: 4 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7e-05/0.6229, allocations: 49.62 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.6229, allocations: 4 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6229, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.6229, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.6229, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.623, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.623, allocations: 3.938 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.623, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 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.924e-05/0.6231, allocations: 117.8 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.6231, allocations: 3.938 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.6232, allocations: 61.58 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6232, allocations: 0 / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.6232, allocations: 3.938 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.6232, allocations: 0 / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.6233, allocations: 165.6 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6234, allocations: 4 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.6234, allocations: 8 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.6234, allocations: 0 / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.6234, allocations: 8.359 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6234, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.6234, allocations: 0 / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.817e-05/0.6235, allocations: 80.98 kB / 1.225 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.6236, allocations: 85.06 kB / 1.225 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.6236, allocations: 3.938 kB / 1.225 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.684e-05/0.6236, allocations: 8 kB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.6236, allocations: 3.984 kB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.6237, allocations: 0 / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.6237, allocations: 87.28 kB / 1.225 GB, free: 12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6237, allocations: 0 / 1.225 GB, free: 12 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001912/0.6239, allocations: 31.86 kB / 1.225 GB, free: 11.97 MB / 0.9512 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.0004086/0.6243, allocations: 0.6402 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.212e-05/0.6244, allocations: 15.98 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6244, allocations: 4 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.6244, allocations: 4 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.6246, allocations: 4 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.6249, allocations: 167.4 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.6252, allocations: 0.6882 MB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.6252, allocations: 4 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.6252, allocations: 7.438 kB / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6253, allocations: 0 / 1.227 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3764/1.002, allocations: 1.634 MB / 1.229 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.462, allocations: 21.41 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches