Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.476/2.476, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001727/0.001727, allocations: 184.8 kB / 496.1 MB, free: 12.83 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.635/1.635, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.001008/0.001008, allocations: 91.95 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.156e-05/6.163e-05, allocations: 5.797 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3718, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9337/1.306, allocations: 149.2 MB / 1.365 GB, free: 4.75 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.306, allocations: 71.39 kB / 1.365 GB, free: 4.711 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001751/1.308, allocations: 0.6956 MB / 1.365 GB, free: 4.074 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.363e-06/1.308, allocations: 8 kB / 1.365 GB, free: 4.066 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.308, allocations: 0 / 1.365 GB, free: 4.066 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003098/1.308, allocations: 334.5 kB / 1.366 GB, free: 3.699 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.308, allocations: 8.031 kB / 1.366 GB, free: 3.691 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/1.308, allocations: 37.94 kB / 1.366 GB, free: 3.648 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/1.308, allocations: 15.84 kB / 1.366 GB, free: 3.633 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/1.308, allocations: 175.5 kB / 1.366 GB, free: 3.426 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/1.308, allocations: 7.5 kB / 1.366 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/1.308, allocations: 0 / 1.366 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/1.309, allocations: 85.12 kB / 1.366 GB, free: 3.348 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.309, allocations: 0 / 1.366 GB, free: 3.348 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.309, allocations: 3.984 kB / 1.366 GB, free: 3.344 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.309, allocations: 4 kB / 1.366 GB, free: 3.34 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-05/1.309, allocations: 42.17 kB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/1.309, allocations: 495 kB / 1.366 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/1.309, allocations: 173.1 kB / 1.367 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/1.309, allocations: 80.14 kB / 1.367 GB, free: 2.539 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/1.309, allocations: 75.28 kB / 1.367 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.896e-05/1.309, allocations: 113.8 kB / 1.367 GB, free: 2.344 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/1.31, allocations: 4 kB / 1.367 GB, free: 2.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.328e-05/1.31, allocations: 25.7 kB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/1.31, allocations: 130.7 kB / 1.367 GB, free: 2.168 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/1.31, allocations: 160.4 kB / 1.367 GB, free: 2.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/1.31, allocations: 25.7 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/1.31, allocations: 99 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/1.31, allocations: 0 / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/1.31, allocations: 0 / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.31, allocations: 314.8 kB / 1.368 GB, free: 1.582 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/1.31, allocations: 15.92 kB / 1.368 GB, free: 1.57 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/1.31, allocations: 4 kB / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/1.31, allocations: 14.92 kB / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.31, allocations: 0 / 1.368 GB, free: 1.555 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001299/1.31, allocations: 52.73 kB / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.31, allocations: 8 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.31, allocations: 0 / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.31, allocations: 96 / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/1.31, allocations: 8 kB / 1.368 GB, free: 1.484 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.31, allocations: 3.984 kB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/1.31, allocations: 4 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/1.31, allocations: 3.625 kB / 1.368 GB, free: 1.477 MB / 0.823 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 (1): * Single equations (assignments): 1 * 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.372e-05/1.311, allocations: 176.3 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/1.311, allocations: 120.7 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/1.311, allocations: 116 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-05/1.311, allocations: 184.2 kB / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-05/1.311, allocations: 184.2 kB / 1.368 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.297e-05/1.311, allocations: 176.3 kB / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/1.311, allocations: 420.8 kB / 1.369 GB, free: 40 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.027e-05/1.311, allocations: 101 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/1.311, allocations: 109.3 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-05/1.311, allocations: 192.2 kB / 1.369 GB, free: 15.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/1.311, allocations: 184.2 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.012e-05/1.311, allocations: 180.2 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.268e-05/1.312, allocations: 180.2 kB / 1.37 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/1.312, allocations: 319.5 kB / 1.37 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/1.312, allocations: 182.1 kB / 1.37 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/1.312, allocations: 184.2 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/1.312, allocations: 112.2 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/1.312, allocations: 180.2 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.312, allocations: 105 kB / 1.371 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.865e-05/1.312, allocations: 133.1 kB / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.312, allocations: 0 / 1.371 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002202/1.312, allocations: 4 kB / 1.371 GB, free: 13.83 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 (0): * Single equations (assignments): 0 * 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.0004389/1.313, allocations: 0.821 MB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.812e-05/1.313, allocations: 8 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.313, allocations: 0 / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/1.313, allocations: 3.75 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/1.313, allocations: 0.5269 MB / 1.372 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/1.314, allocations: 201.6 kB / 1.373 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.314, allocations: 0.6993 MB / 1.373 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.037e-05/1.314, allocations: 4 kB / 1.373 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/1.314, allocations: 11.19 kB / 1.373 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/1.314, allocations: 4 kB / 1.373 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/1.326, allocations: 1.366 MB / 1.375 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/1.327, allocations: 159.8 kB / 1.375 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/2.737, allocations: 0 / 1.375 GB, free: 10.04 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat does not exist to compare? outputFormat=mat