Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_9_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.002233/0.002233, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002635/0.002635, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.321/3.321, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.578/4.578, allocations: 390.2 MB / 0.6644 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002033, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 140.4 MB / 0.9492 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.004327/1.171, allocations: 1.346 MB / 0.9506 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000807/1.172, allocations: 307.4 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/1.172, allocations: 0 / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/1.172, allocations: 0 / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/1.172, allocations: 10.67 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/1.173, allocations: 67.36 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.623e-05/1.173, allocations: 36.34 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/1.173, allocations: 6.75 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/1.173, allocations: 25.61 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/1.173, allocations: 8.062 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/1.173, allocations: 1.375 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/1.174, allocations: 87.78 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/1.174, allocations: 5.359 kB / 0.9511 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/1.174, allocations: 15.98 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/1.174, allocations: 72.36 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.174, allocations: 1.156 kB / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.625e-06/1.174, allocations: 0 / 0.9512 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.174, allocations: 0 / 0.9512 GB, free: 7.555 MB / 0.7169 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.0005277/1.175, allocations: 351.2 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.342e-05/1.175, allocations: 9.625 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/1.175, allocations: 42.67 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/1.175, allocations: 3.688 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/1.175, allocations: 174.6 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/1.175, allocations: 4.375 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/1.175, allocations: 2.625 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/1.175, allocations: 39.28 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/1.175, allocations: 0 / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/1.175, allocations: 0 / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/1.175, allocations: 1.094 kB / 0.9518 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.145e-05/1.175, allocations: 11 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/1.176, allocations: 167.1 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/1.176, allocations: 34.42 kB / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/1.176, allocations: 8.641 kB / 0.952 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/1.178, allocations: 1.189 MB / 0.9531 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.178, allocations: 38.55 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/1.178, allocations: 1.219 kB / 0.9532 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003384/1.178, allocations: 51.91 kB / 0.9532 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.178, allocations: 52.69 kB / 0.9533 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/1.178, allocations: 110.7 kB / 0.9534 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.178, allocations: 29.7 kB / 0.9534 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/1.178, allocations: 81.39 kB / 0.9535 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/1.178, allocations: 12.98 kB / 0.9535 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/1.179, allocations: 17.53 kB / 0.9535 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.179, allocations: 312.2 kB / 0.9538 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/1.179, allocations: 10.56 kB / 0.9538 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/1.179, allocations: 11.61 kB / 0.9538 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.165e-05/1.179, allocations: 16.89 kB / 0.9539 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.179, allocations: 4 kB / 0.9539 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000136/1.179, allocations: 49.06 kB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.179, allocations: 5.344 kB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.179, allocations: 0 / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.179, allocations: 1.344 kB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/1.179, allocations: 4.906 kB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/1.179, allocations: 0 / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/1.179, allocations: 4 kB / 0.9539 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/1.179, allocations: 1.375 kB / 0.9539 GB, free: 4.465 MB / 0.7169 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.0001293/1.179, allocations: 112.1 kB / 0.954 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/1.179, allocations: 9.469 kB / 0.954 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/1.18, allocations: 64.92 kB / 0.9541 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.18, allocations: 0 / 0.9541 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/1.18, allocations: 1.219 kB / 0.9541 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.18, allocations: 0 / 0.9541 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/1.18, allocations: 159.9 kB / 0.9543 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.18, allocations: 3.938 kB / 0.9543 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/1.18, allocations: 8.469 kB / 0.9543 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.18, allocations: 1.344 kB / 0.9543 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/1.18, allocations: 1.25 kB / 0.9543 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.18, allocations: 3.984 kB / 0.9543 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.18, allocations: 0 / 0.9543 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/1.18, allocations: 66.88 kB / 0.9543 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/1.18, allocations: 92.14 kB / 0.9544 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/1.18, allocations: 1.594 kB / 0.9544 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/1.18, allocations: 7.938 kB / 0.9544 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/1.181, allocations: 9.969 kB / 0.9544 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/1.181, allocations: 1.688 kB / 0.9544 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.319e-05/1.181, allocations: 85.81 kB / 0.9545 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.81e-07/1.181, allocations: 0 / 0.9545 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000475/1.181, allocations: 32.67 kB / 0.9546 GB, free: 3.785 MB / 0.7169 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.0007855/1.182, allocations: 0.6442 MB / 0.9552 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002037/1.182, allocations: 16.09 kB / 0.9552 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.182, allocations: 0 / 0.9552 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/1.182, allocations: 13.42 kB / 0.9552 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005141/1.183, allocations: 2.656 kB / 0.9552 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008134/1.184, allocations: 180.7 kB / 0.9554 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/1.184, allocations: 0.687 MB / 0.9561 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.257e-05/1.184, allocations: 3.875 kB / 0.9561 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/1.184, allocations: 10 kB / 0.9561 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of SimCode: time 5e-07/1.184, allocations: 4 kB / 0.9561 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/1.351, allocations: 1.525 MB / 0.9576 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/1.352, allocations: 218.1 kB / 0.9578 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/4.879, allocations: 0 / 0.9578 GB, free: 1.227 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches