Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 390.3 MB / 402.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 0.7915 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.89 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.282e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2854, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9426/1.228, allocations: 150.2 MB / 1.366 GB, free: 3.812 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.228, allocations: 76.89 kB / 1.366 GB, free: 3.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005372/1.234, allocations: 1.817 MB / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.322e-06/1.234, allocations: 0 / 1.367 GB, free: 2.195 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.373e-06/1.234, allocations: 4.219 kB / 1.367 GB, free: 2.191 MB / 0.823 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.0003805/1.234, allocations: 349.9 kB / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.234, allocations: 12.03 kB / 1.368 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/1.234, allocations: 34.55 kB / 1.368 GB, free: 1.754 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/1.234, allocations: 4.688 kB / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/1.235, allocations: 167 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/1.235, allocations: 0 / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/1.235, allocations: 4 kB / 1.368 GB, free: 1.543 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/1.235, allocations: 41.5 kB / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/1.235, allocations: 0 / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/1.235, allocations: 3.984 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.235, allocations: 0 / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/1.235, allocations: 8 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/1.235, allocations: 168.1 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.235, allocations: 34.3 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/1.235, allocations: 8.859 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/1.237, allocations: 1.174 MB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.237, allocations: 30.56 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/1.237, allocations: 4 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001854/1.237, allocations: 48.72 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.237, allocations: 55.41 kB / 1.369 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/1.237, allocations: 104.7 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/1.237, allocations: 25.7 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/1.237, allocations: 80.14 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/1.237, allocations: 3.906 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/1.237, allocations: 3.25 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.237, allocations: 318.8 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/1.237, allocations: 0 / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/1.237, allocations: 4 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/1.237, allocations: 15.36 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.237, allocations: 0 / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.862e-05/1.237, allocations: 45.62 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.238, allocations: 11.94 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.238, allocations: 0 / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.238, allocations: 3.938 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/1.238, allocations: 7.188 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.238, allocations: 0.875 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/1.238, allocations: 3.938 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-06/1.238, allocations: 4 kB / 1.37 GB, free: 15.01 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.788e-05/1.238, allocations: 108.9 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/1.238, allocations: 3.906 kB / 1.37 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.238, allocations: 61.06 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.238, allocations: 0 / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.238, allocations: 0 / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/1.238, allocations: 4 kB / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/1.238, allocations: 165.1 kB / 1.37 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.238, allocations: 4 kB / 1.37 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/1.238, allocations: 4 kB / 1.37 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.238, allocations: 0 / 1.37 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/1.238, allocations: 4 kB / 1.37 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.238, allocations: 0 / 1.37 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.238, allocations: 0 / 1.37 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/1.238, allocations: 72.66 kB / 1.37 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/1.238, allocations: 92.95 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/1.239, allocations: 4 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.935e-05/1.239, allocations: 4 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/1.239, allocations: 3.984 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/1.239, allocations: 0 / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.879e-05/1.239, allocations: 93.77 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.239, allocations: 0 / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002468/1.239, allocations: 27.94 kB / 1.371 GB, free: 14.29 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006016/1.24, allocations: 0.6423 MB / 1.371 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.432e-05/1.24, allocations: 15.98 kB / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.24, allocations: 0 / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/1.24, allocations: 11.25 kB / 1.371 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/1.24, allocations: 5.25 kB / 1.371 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/1.24, allocations: 116.9 kB / 1.371 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/1.241, allocations: 0.6887 MB / 1.372 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.113e-05/1.241, allocations: 4 kB / 1.372 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/1.241, allocations: 7.438 kB / 1.372 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.241, allocations: 0 / 1.372 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/1.254, allocations: 1.411 MB / 1.374 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.254, allocations: 167.2 kB / 1.374 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.783, allocations: 4.062 kB / 1.374 GB, free: 11.27 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat does not exist to compare? outputFormat=mat