Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow",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.001524/0.001524, allocations: 99.55 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.001813/0.001813, 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.746/2.746, allocations: 223.2 MB / 239.9 MB, free: 5.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.004/5.004, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006351/0.000635, allocations: 12 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708/1.709, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.3239/2.033, allocations: 179.1 MB / 1.156 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04122/2.074, allocations: 21.65 MB / 1.177 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003625/2.078, allocations: 27.81 kB / 1.177 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004906/2.083, allocations: 0.9805 MB / 1.178 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0151/2.098, allocations: 2.89 MB / 1.181 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004651/2.103, allocations: 0.8197 MB / 1.182 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007863/2.111, allocations: 2.28 MB / 1.184 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/2.114, allocations: 1.199 MB / 1.185 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007694/2.122, allocations: 1.787 MB / 1.187 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/2.125, allocations: 0.942 MB / 1.188 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004768/2.126, allocations: 79.94 kB / 1.188 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006116/2.132, allocations: 1.038 MB / 1.189 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001554/2.134, allocations: 0.744 MB / 1.189 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00153/2.135, allocations: 456.4 kB / 1.19 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005113/2.14, allocations: 2.116 MB / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/2.14, allocations: 0 / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.178e-06/2.14, allocations: 0 / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.421e-05/2.141, allocations: 0 / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007219/2.148, allocations: 2.469 MB / 1.194 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/2.148, allocations: 8.031 kB / 1.194 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005109/2.148, allocations: 206.6 kB / 1.195 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/2.151, allocations: 448.2 kB / 1.195 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006754/2.158, allocations: 2.638 MB / 1.198 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/2.158, allocations: 98.53 kB / 1.198 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/2.159, allocations: 128 kB / 1.198 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/2.162, allocations: 1.583 MB / 1.199 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/2.162, allocations: 4 kB / 1.199 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/2.163, allocations: 52 kB / 1.199 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/2.163, allocations: 93.89 kB / 1.199 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/2.165, allocations: 1.063 MB / 1.2 GB, free: 4.57 MB / 0.9512 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.01532/2.181, allocations: 8.448 MB / 1.209 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/2.182, allocations: 0.7389 MB / 1.209 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008209/2.183, allocations: 0.6091 MB / 1.21 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.887e-05/2.183, allocations: 42.5 kB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=50): time 4.306e-05/2.183, allocations: 3.938 kB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=50): time 0.002986/2.186, allocations: 0.9918 MB / 1.211 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/2.187, allocations: 162.2 kB / 1.211 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009444/2.196, allocations: 4.678 MB / 1.216 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/2.196, allocations: 37.7 kB / 1.216 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/2.198, allocations: 1.074 MB / 1.217 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/2.198, allocations: 177.4 kB / 1.217 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/2.198, allocations: 12 kB / 1.217 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002013/2.198, allocations: 326 kB / 1.217 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/2.199, allocations: 221 kB / 1.218 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/2.2, allocations: 322.9 kB / 1.218 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/2.2, allocations: 251.9 kB / 1.218 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/2.2, allocations: 4 kB / 1.218 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002627/2.203, allocations: 0.8082 MB / 1.219 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.021e-05/2.203, allocations: 8 kB / 1.219 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/2.203, allocations: 0 / 1.219 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-05/2.203, allocations: 12.2 kB / 1.219 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/2.204, allocations: 111.8 kB / 1.219 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/2.204, allocations: 4 kB / 1.219 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/2.206, allocations: 154.7 kB / 1.219 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/2.206, allocations: 23.98 kB / 1.219 GB, free: 0.582 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.001899/2.208, allocations: 0.5443 MB / 1.22 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/2.209, allocations: 229.3 kB / 1.22 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/2.212, allocations: 0.8117 MB / 1.221 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/2.212, allocations: 4 kB / 1.221 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.65e-05/2.212, allocations: 7.781 kB / 1.221 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/2.212, allocations: 3.984 kB / 1.221 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005645/2.217, allocations: 2.088 MB / 1.223 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/2.217, allocations: 0 / 1.223 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006514/2.218, allocations: 103.8 kB / 1.223 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.745e-05/2.218, allocations: 4.188 kB / 1.223 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/2.218, allocations: 23.94 kB / 1.223 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/2.218, allocations: 7.984 kB / 1.223 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/2.218, allocations: 0 / 1.223 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/2.221, allocations: 1.402 MB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/2.223, allocations: 425.8 kB / 1.225 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/2.223, allocations: 12 kB / 1.225 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/2.224, allocations: 87.86 kB / 1.225 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/2.224, allocations: 36.39 kB / 1.225 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/2.224, allocations: 19.98 kB / 1.225 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.006548/2.231, allocations: 3.49 MB / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.81e-07/2.231, allocations: 7.938 kB / 1.228 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003297/2.234, allocations: 483 kB / 1.229 GB, free: 6.629 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.006157/2.241, allocations: 2.75 MB / 1.231 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001536/2.242, allocations: 0.5372 MB / 1.232 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/2.242, allocations: 0 / 1.232 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006514/2.243, allocations: 299.2 kB / 1.232 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00698/2.25, allocations: 0.8295 MB / 1.233 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.076/3.326, allocations: 21.25 MB / 1.254 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/3.329, allocations: 1.687 MB / 1.255 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003266/3.333, allocations: 466.1 kB / 1.256 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/3.335, allocations: 0.9412 MB / 1.257 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.844e-06/3.335, allocations: 0 / 1.257 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/3.461, allocations: 52.55 MB / 1.308 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/3.462, allocations: 237.2 kB / 1.308 GB, free: 221 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.171/8.633, allocations: 1.094 kB / 1.308 GB, free: 221 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat does not exist to compare? outputFormat=mat