Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.001511/0.001511, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001875/0.001875, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.588/2.588, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.69/4.69, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006447, allocations: 16 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804/1.804, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.3167/2.121, allocations: 141 MB / 1.119 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.022/2.143, allocations: 7.388 MB / 1.126 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/2.147, allocations: 31.75 kB / 1.126 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004178/2.151, allocations: 0.5326 MB / 1.126 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/2.162, allocations: 1.557 MB / 1.128 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006788/2.169, allocations: 1.001 MB / 1.129 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00991/2.179, allocations: 2.409 MB / 1.131 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/2.183, allocations: 0.9835 MB / 1.132 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/2.188, allocations: 1.118 MB / 1.133 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/2.192, allocations: 1.071 MB / 1.134 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006721/2.193, allocations: 88 kB / 1.134 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/2.198, allocations: 0.8739 MB / 1.135 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/2.2, allocations: 0.522 MB / 1.136 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001563/2.201, allocations: 368.8 kB / 1.136 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00523/2.206, allocations: 1.96 MB / 1.138 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/2.207, allocations: 0 / 1.138 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.288e-06/2.207, allocations: 0 / 1.138 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.587e-05/2.207, allocations: 0 / 1.138 GB, free: 4.918 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.007584/2.214, allocations: 2.026 MB / 1.14 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 9.378e-05/2.214, allocations: 12.02 kB / 1.14 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008949/2.215, allocations: 227.7 kB / 1.14 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/2.216, allocations: 193.8 kB / 1.14 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/2.22, allocations: 1.064 MB / 1.141 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/2.22, allocations: 111 kB / 1.142 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/2.221, allocations: 144 kB / 1.142 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005048/2.226, allocations: 1.911 MB / 1.144 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.444e-05/2.226, allocations: 3.906 kB / 1.144 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002337/2.226, allocations: 67.95 kB / 1.144 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.485e-05/2.226, allocations: 36 kB / 1.144 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006489/2.233, allocations: 2.478 MB / 1.146 GB, free: 12.5 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/2.249, allocations: 6.147 MB / 1.152 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00656/2.255, allocations: 2.79 MB / 1.155 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002969/2.258, allocations: 1.742 MB / 1.156 GB, free: 1.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/2.258, allocations: 60.56 kB / 1.157 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=237): time 7.224e-06/2.258, allocations: 0 / 1.157 GB, free: 1.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=237): time 0.01125/2.27, allocations: 3.442 MB / 1.16 GB, free: 13.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/2.27, allocations: 73.41 kB / 1.16 GB, free: 13.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/2.272, allocations: 0.7939 MB / 1.161 GB, free: 12.63 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003798/2.273, allocations: 65.7 kB / 1.161 GB, free: 12.56 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006962/2.273, allocations: 494.2 kB / 1.161 GB, free: 12.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001748/2.275, allocations: 0.7853 MB / 1.162 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/2.275, allocations: 40 kB / 1.162 GB, free: 11.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003523/2.276, allocations: 390 kB / 1.162 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/2.278, allocations: 0.898 MB / 1.163 GB, free: 9.941 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/2.282, allocations: 1.113 MB / 1.164 GB, free: 8.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003327/2.285, allocations: 1.076 MB / 1.165 GB, free: 7.699 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/2.285, allocations: 4 kB / 1.165 GB, free: 7.695 MB / 0.92 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008001/2.293, allocations: 2.436 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/2.293, allocations: 4.469 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.308e-05/2.293, allocations: 8 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.864e-05/2.293, allocations: 16 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/2.297, allocations: 435.4 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-05/2.297, allocations: 19.88 kB / 1.168 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/2.3, allocations: 214.2 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/2.3, allocations: 79.98 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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 0.001612/2.302, allocations: 437.2 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007233/2.303, allocations: 146.2 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008275/2.311, allocations: 2.729 MB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.942e-05/2.311, allocations: 24 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.882e-05/2.311, allocations: 4 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006008/2.317, allocations: 2.378 MB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/2.334, allocations: 4.306 MB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/2.334, allocations: 0 / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/2.337, allocations: 407.5 kB / 1.179 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000979/2.338, allocations: 101.6 kB / 1.179 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003686/2.339, allocations: 59.94 kB / 1.179 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/2.34, allocations: 1.124 MB / 1.18 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/2.341, allocations: 4 kB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0127/2.353, allocations: 4.077 MB / 1.184 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002684/2.356, allocations: 0.4907 MB / 1.184 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007356/2.357, allocations: 44 kB / 1.185 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/2.359, allocations: 111.8 kB / 1.185 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/2.36, allocations: 137.8 kB / 1.185 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002646/2.36, allocations: 63.98 kB / 1.185 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001593/2.362, allocations: 0.5615 MB / 1.185 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.81e-07/2.362, allocations: 0 / 1.185 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004008/2.366, allocations: 0.6553 MB / 1.186 GB, free: 2.383 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01213/2.378, allocations: 5.057 MB / 1.191 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00616/2.384, allocations: 2.309 MB / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/2.384, allocations: 0 / 1.193 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003765/2.388, allocations: 1.284 MB / 1.194 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/2.393, allocations: 0.5143 MB / 1.195 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/2.41, allocations: 7.571 MB / 1.202 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/2.412, allocations: 1.37 MB / 1.204 GB, free: 72 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004908/2.417, allocations: 0.727 MB / 1.204 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/2.419, allocations: 0.6281 MB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of SimCode: time 1.904e-06/2.419, allocations: 3.938 kB / 1.205 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/2.545, allocations: 39.02 MB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004055/2.546, allocations: 214.2 kB / 1.243 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.496/8.041, allocations: 3.938 kB / 1.243 GB, free: 7.898 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat does not exist to compare? outputFormat=mat