Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001425/0.001425, allocations: 180.9 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 99.86 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.095e-05, allocations: 0 / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 142.4 MB / 1.206 GB, free: 43.77 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.348, allocations: 150.4 MB / 1.353 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.348, allocations: 79.34 kB / 1.353 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05316/1.401, allocations: 18.28 MB / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.633e-06/1.401, allocations: 0 / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000134/1.401, allocations: 44.36 kB / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003606/1.405, allocations: 1.503 MB / 1.372 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.405, allocations: 11.69 kB / 1.372 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006681/1.406, allocations: 178.6 kB / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/1.407, allocations: 0.776 MB / 1.373 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/1.407, allocations: 60.84 kB / 1.373 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/1.408, allocations: 92.66 kB / 1.374 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002814/1.411, allocations: 1.142 MB / 1.375 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/1.413, allocations: 1.109 MB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/1.413, allocations: 448 / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/1.414, allocations: 0 / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/1.414, allocations: 42.56 kB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008323/1.422, allocations: 4.353 MB / 1.38 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/1.424, allocations: 0.9793 MB / 1.381 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/1.424, allocations: 444.1 kB / 1.381 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.363e-05/1.425, allocations: 24.34 kB / 1.381 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/1.425, allocations: 50.41 kB / 1.381 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.476e-06/1.425, allocations: 0 / 1.381 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.001315/1.426, allocations: 0.8069 MB / 1.382 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/1.426, allocations: 60.41 kB / 1.382 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/1.427, allocations: 0.5591 MB / 1.383 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/1.427, allocations: 25.7 kB / 1.383 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/1.427, allocations: 0.6367 MB / 1.384 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/1.427, allocations: 356.5 kB / 1.384 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/1.427, allocations: 0 / 1.384 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.428, allocations: 392.5 kB / 1.384 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/1.428, allocations: 343.5 kB / 1.385 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/1.429, allocations: 467.1 kB / 1.385 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/1.429, allocations: 399.4 kB / 1.385 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.429, allocations: 0 / 1.385 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001388/1.431, allocations: 0.9763 MB / 1.386 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.431, allocations: 278.1 kB / 1.387 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.431, allocations: 3.812 kB / 1.387 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.431, allocations: 3.875 kB / 1.387 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.432, allocations: 285.5 kB / 1.387 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.432, allocations: 3.812 kB / 1.387 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/1.433, allocations: 175.5 kB / 1.387 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/1.433, allocations: 40.64 kB / 1.387 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.433, allocations: 3.844 kB / 1.387 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/1.434, allocations: 0.8243 MB / 1.388 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.434, allocations: 0 / 1.388 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/1.434, allocations: 3.812 kB / 1.388 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008579/1.435, allocations: 236.1 kB / 1.388 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.435, allocations: 11.64 kB / 1.388 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006574/1.436, allocations: 109.7 kB / 1.388 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.98e-05/1.436, allocations: 41.17 kB / 1.388 GB, free: 26.4 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 137 * 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.0002372/1.436, allocations: 116.7 kB / 1.388 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001217/1.437, allocations: 0.8021 MB / 1.389 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/1.438, allocations: 89.22 kB / 1.389 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/1.439, allocations: 1.011 MB / 1.39 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.439, allocations: 19.58 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.439, allocations: 0 / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.439, allocations: 3.984 kB / 1.39 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/1.444, allocations: 3.467 MB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.444, allocations: 11.53 kB / 1.394 GB, free: 24.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/1.445, allocations: 261.6 kB / 1.394 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.052e-05/1.445, allocations: 22.72 kB / 1.394 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.359e-05/1.445, allocations: 22.56 kB / 1.394 GB, free: 24.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.445, allocations: 26.95 kB / 1.394 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/1.445, allocations: 15.47 kB / 1.394 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.446, allocations: 1.926 MB / 1.396 GB, free: 22.96 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/1.447, allocations: 210.7 kB / 1.396 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.447, allocations: 15.42 kB / 1.396 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/1.448, allocations: 136.2 kB / 1.396 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.448, allocations: 119.4 kB / 1.396 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/1.448, allocations: 49.33 kB / 1.396 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004437/1.448, allocations: 431.7 kB / 1.397 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.448, allocations: 0 / 1.397 GB, free: 22.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001191/1.45, allocations: 0.502 MB / 1.397 GB, free: 22.41 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 128 * 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.003058/1.453, allocations: 5.813 MB / 1.403 GB, free: 17.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002383/1.455, allocations: 1.36 MB / 1.404 GB, free: 17.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.455, allocations: 4.156 kB / 1.404 GB, free: 17.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/1.456, allocations: 0.4941 MB / 1.405 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/1.457, allocations: 109.9 kB / 1.405 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/1.461, allocations: 1.994 MB / 1.407 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008584/1.462, allocations: 1.191 MB / 1.408 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001/1.463, allocations: 179.2 kB / 1.408 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/1.463, allocations: 0.512 MB / 1.409 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of SimCode: time 1.493e-06/1.463, allocations: 3.938 kB / 1.409 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/1.51, allocations: 18.22 MB / 1.426 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/1.51, allocations: 184.4 kB / 1.427 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/4.076, allocations: 0 / 1.427 GB, free: 15.09 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat does not exist to compare? outputFormat=mat