Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.0007722/0.0007722, allocations: 91.14 kB / 15.06 MB, free: 1.094 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.0008907/0.0008908, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.523/2.523, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 11.98 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7108, allocations: 146.8 MB / 0.9811 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001384/0.7122, allocations: 0.9689 MB / 0.9821 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002764/0.7125, allocations: 111.8 kB / 0.9822 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.7126, allocations: 0 / 0.9822 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.7126, allocations: 0 / 0.9822 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.715e-05/0.7127, allocations: 11.92 kB / 0.9822 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.7129, allocations: 27.89 kB / 0.9822 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.7129, allocations: 11.94 kB / 0.9822 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.713, allocations: 0 / 0.9822 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.713, allocations: 7.938 kB / 0.9823 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.7131, allocations: 11.98 kB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.7131, allocations: 3.938 kB / 0.9823 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.7132, allocations: 43.95 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.7132, allocations: 7.984 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.7133, allocations: 25.7 kB / 0.9823 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.317e-05/0.7134, allocations: 31.95 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7134, allocations: 0 / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7134, allocations: 0 / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.7134, allocations: 0 / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004022/0.7138, allocations: 325.6 kB / 0.9827 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7138, allocations: 12.03 kB / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.7139, allocations: 30.56 kB / 0.9827 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.7139, allocations: 4 kB / 0.9827 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.7141, allocations: 167 kB / 0.9829 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.7141, allocations: 4 kB / 0.9829 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.7141, allocations: 4 kB / 0.9829 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.7142, allocations: 37.58 kB / 0.9829 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.7142, allocations: 4 kB / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.7142, allocations: 0 / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.7143, allocations: 0 / 0.9829 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.7143, allocations: 4 kB / 0.9829 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.7145, allocations: 153.7 kB / 0.9831 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/0.7145, allocations: 26.61 kB / 0.9831 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.7146, allocations: 4.859 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007263/0.7153, allocations: 0.613 MB / 0.9837 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.7153, allocations: 38.5 kB / 0.9838 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7153, allocations: 0 / 0.9838 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001634/0.7155, allocations: 41.66 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.7156, allocations: 51.41 kB / 0.9838 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.7156, allocations: 101.8 kB / 0.9839 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.7157, allocations: 29.7 kB / 0.984 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.7157, allocations: 80.14 kB / 0.984 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.7157, allocations: 7.844 kB / 0.984 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.7157, allocations: 128 / 0.984 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7159, allocations: 314.8 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.7159, allocations: 8 kB / 0.9844 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.7159, allocations: 3.984 kB / 0.9844 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.7159, allocations: 7.938 kB / 0.9844 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7159, allocations: 0 / 0.9844 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.854e-05/0.716, allocations: 33.7 kB / 0.9844 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.716, allocations: 4 kB / 0.9844 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.716, allocations: 4 kB / 0.9844 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.7161, allocations: 8.047 kB / 0.9844 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.7161, allocations: 4 kB / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.7161, allocations: 7.984 kB / 0.9844 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.7162, allocations: 7.891 kB / 0.9844 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.7162, allocations: 0 / 0.9844 GB, free: 2.484 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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 9.287e-05/0.7163, allocations: 105.8 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.7163, allocations: 4.188 kB / 0.9845 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.7164, allocations: 48.75 kB / 0.9846 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7164, allocations: 8.016 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.7164, allocations: 3.953 kB / 0.9846 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7164, allocations: 0 / 0.9846 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.7165, allocations: 153.7 kB / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7166, allocations: 0 / 0.9847 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.7166, allocations: 7.938 kB / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7166, allocations: 0 / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.7166, allocations: 0 / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7166, allocations: 0 / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7166, allocations: 0 / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.7167, allocations: 81.02 kB / 0.9848 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.7168, allocations: 77.11 kB / 0.9849 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.7168, allocations: 0 / 0.9849 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.7168, allocations: 0 / 0.9849 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.7168, allocations: 0 / 0.9849 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.7168, allocations: 4 kB / 0.9849 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.7169, allocations: 79.23 kB / 0.985 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.923e-06/0.7169, allocations: 0 / 0.985 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001962/0.7171, allocations: 31.95 kB / 0.985 GB, free: 1.793 MB / 0.7325 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 (2): * Single equations (assignments): 2 * 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.0004112/0.7175, allocations: 0.6147 MB / 0.9856 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.7176, allocations: 11.94 kB / 0.9856 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7176, allocations: 96 / 0.9856 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.211e-05/0.7176, allocations: 12 kB / 0.9856 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.7178, allocations: 7.984 kB / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.7184, allocations: 344.4 kB / 0.986 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.7187, allocations: 0.6811 MB / 0.9866 GB, free: 24 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.7187, allocations: 0 / 0.9866 GB, free: 24 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.7187, allocations: 7.438 kB / 0.9866 GB, free: 16 kB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7187, allocations: 4 kB / 0.9866 GB, free: 12 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.7424, allocations: 1.222 MB / 0.9878 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.7426, allocations: 203.2 kB / 0.988 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.391, allocations: 64 / 0.988 GB, free: 14.7 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat does not exist to compare? outputFormat=mat