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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00114/0.00114, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.193/1.193, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.064/2.064, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4702, allocations: 140.4 MB / 0.949 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001748/0.472, allocations: 1.353 MB / 0.9504 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003987/0.4724, allocations: 314.1 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.4724, allocations: 0 / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.4724, allocations: 4 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.4725, allocations: 13.28 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.4727, allocations: 52.38 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.4727, allocations: 37.72 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.065e-05/0.4728, allocations: 6.688 kB / 0.9508 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.4729, allocations: 24.3 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.4729, allocations: 13.44 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.4729, allocations: 0 / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.473, allocations: 79.78 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.4731, allocations: 9.297 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.4731, allocations: 16.05 kB / 0.9509 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.4732, allocations: 76.34 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.4732, allocations: 0 / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.92e-07/0.4732, allocations: 1.375 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.4732, allocations: 0 / 0.951 GB, free: 7.582 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.0002282/0.4735, allocations: 350.4 kB / 0.9513 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.4735, allocations: 9.625 kB / 0.9513 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.912e-05/0.4735, allocations: 40.06 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.4735, allocations: 6.312 kB / 0.9514 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.027e-05/0.4736, allocations: 175 kB / 0.9515 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.4736, allocations: 4.375 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.4736, allocations: 1.75 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.891e-05/0.4737, allocations: 43.12 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.4737, allocations: 5.359 kB / 0.9516 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.4737, allocations: 3.938 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.4737, allocations: 1.375 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/0.4737, allocations: 5.5 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.587e-05/0.4738, allocations: 155.2 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.282e-05/0.4739, allocations: 42.92 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.4739, allocations: 12.98 kB / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.4746, allocations: 1.189 MB / 0.953 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.4747, allocations: 35.75 kB / 0.953 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.4747, allocations: 0 / 0.953 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001122/0.4748, allocations: 52.34 kB / 0.953 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.423e-05/0.4748, allocations: 52.66 kB / 0.9531 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.4748, allocations: 106.6 kB / 0.9532 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.4749, allocations: 27.36 kB / 0.9532 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.034e-05/0.4749, allocations: 80.14 kB / 0.9533 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.4749, allocations: 13.31 kB / 0.9533 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.4749, allocations: 21.45 kB / 0.9533 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.475, allocations: 316.3 kB / 0.9536 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.475, allocations: 2.844 kB / 0.9536 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.029e-05/0.475, allocations: 2.438 kB / 0.9536 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.909e-05/0.475, allocations: 20.94 kB / 0.9537 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.475, allocations: 0 / 0.9537 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.504e-05/0.4751, allocations: 49.73 kB / 0.9537 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.4751, allocations: 5.5 kB / 0.9537 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.4751, allocations: 0 / 0.9537 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.964e-06/0.4751, allocations: 4 kB / 0.9537 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.018e-05/0.4752, allocations: 9.047 kB / 0.9537 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.4752, allocations: 0 / 0.9537 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.4752, allocations: 0.9062 kB / 0.9537 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.4752, allocations: 1.344 kB / 0.9537 GB, free: 4.5 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 3.423e-05/0.4752, allocations: 108.1 kB / 0.9538 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.4753, allocations: 10.12 kB / 0.9538 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.582e-05/0.4754, allocations: 71.86 kB / 0.9539 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4754, allocations: 1.344 kB / 0.9539 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4754, allocations: 0 / 0.9539 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4754, allocations: 5.156 kB / 0.9539 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.284e-05/0.4754, allocations: 159.5 kB / 0.9541 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4754, allocations: 3.938 kB / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.4755, allocations: 5.094 kB / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.4755, allocations: 0 / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.4755, allocations: 1.5 kB / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4755, allocations: 0 / 0.9541 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4755, allocations: 9.531 kB / 0.9541 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.195e-05/0.4756, allocations: 78.19 kB / 0.9542 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.4756, allocations: 91.41 kB / 0.9542 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.4756, allocations: 1.094 kB / 0.9542 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.4757, allocations: 1.188 kB / 0.9542 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-06/0.4757, allocations: 1.344 kB / 0.9542 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4757, allocations: 1.906 kB / 0.9543 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.248e-05/0.4757, allocations: 101.5 kB / 0.9543 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.4757, allocations: 0 / 0.9543 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001919/0.4759, allocations: 28.34 kB / 0.9544 GB, free: 3.805 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.0002351/0.4761, allocations: 0.6331 MB / 0.955 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.163e-05/0.4762, allocations: 14.84 kB / 0.955 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4762, allocations: 4 kB / 0.955 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.4762, allocations: 10.41 kB / 0.955 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.4764, allocations: 6.703 kB / 0.955 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.4767, allocations: 176.1 kB / 0.9552 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.89e-05/0.4768, allocations: 0.6843 MB / 0.9559 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.4768, allocations: 10.58 kB / 0.9559 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.4768, allocations: 9.219 kB / 0.9559 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.4768, allocations: 2 kB / 0.9559 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009577/0.4864, allocations: 1.481 MB / 0.9573 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.4866, allocations: 219.4 kB / 0.9575 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.071, allocations: 7.562 kB / 0.9575 GB, free: 1.27 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