Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",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.001453/0.001453, allocations: 99.7 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.001993/0.001993, 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.781/2.781, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.098/5.098, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000908/0.0009082, allocations: 15.98 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845/1.846, allocations: 146.8 MB / 0.9809 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.009945/1.856, allocations: 5.133 MB / 0.9859 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007056/1.863, allocations: 1.784 MB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/1.866, allocations: 35.88 kB / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008771/1.867, allocations: 126.5 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002183/1.869, allocations: 267 kB / 0.988 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/1.871, allocations: 431.5 kB / 0.9885 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003204/1.874, allocations: 0.9458 MB / 0.9894 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/1.876, allocations: 0.6272 MB / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/1.877, allocations: 358 kB / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/1.878, allocations: 421.2 kB / 0.9907 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/1.878, allocations: 36 kB / 0.9908 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/1.879, allocations: 36 kB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/1.879, allocations: 179.1 kB / 0.991 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003637/1.879, allocations: 252.9 kB / 0.9912 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/1.882, allocations: 1.755 MB / 0.9929 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/1.882, allocations: 4 kB / 0.9929 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.669e-06/1.882, allocations: 0 / 0.9929 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.48e-05/1.882, allocations: 0 / 0.9929 GB, free: 9.887 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.005131/1.887, allocations: 1.563 MB / 0.9945 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.262e-05/1.887, allocations: 15.91 kB / 0.9945 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004875/1.888, allocations: 181.5 kB / 0.9946 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/1.888, allocations: 162 kB / 0.9948 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/1.891, allocations: 0.8207 MB / 0.9956 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/1.891, allocations: 90.38 kB / 0.9957 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/1.891, allocations: 120 kB / 0.9958 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004577/1.896, allocations: 1.229 MB / 0.997 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/1.896, allocations: 0 / 0.997 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/1.896, allocations: 52 kB / 0.997 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/1.896, allocations: 28 kB / 0.9971 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/1.9, allocations: 0.9928 MB / 0.998 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/1.915, allocations: 4.146 MB / 1.002 GB, free: 224 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00552/1.921, allocations: 1.358 MB / 1.003 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/1.921, allocations: 24.48 kB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.92e-05/1.921, allocations: 43.22 kB / 1.003 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=75): time 9.438e-06/1.921, allocations: 0 / 1.003 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75): time 0.004345/1.926, allocations: 1.121 MB / 1.005 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/1.926, allocations: 196.6 kB / 1.005 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/1.929, allocations: 1.003 MB / 1.006 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/1.929, allocations: 45.7 kB / 1.006 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009951/1.93, allocations: 0.6053 MB / 1.006 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/1.93, allocations: 256.2 kB / 1.007 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/1.93, allocations: 16 kB / 1.007 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000298/1.931, allocations: 341.9 kB / 1.007 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/1.932, allocations: 357.8 kB / 1.007 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/1.933, allocations: 0.567 MB / 1.008 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.935, allocations: 402.8 kB / 1.008 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/1.935, allocations: 0 / 1.008 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003657/1.938, allocations: 1.023 MB / 1.009 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001688/1.94, allocations: 1.577 MB / 1.011 GB, free: 6.992 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/1.94, allocations: 7.984 kB / 1.011 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/1.94, allocations: 12 kB / 1.011 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.942, allocations: 203.7 kB / 1.011 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.232e-05/1.942, allocations: 11.94 kB / 1.011 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.943, allocations: 194.9 kB / 1.011 GB, free: 6.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.943, allocations: 32 kB / 1.011 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.943, allocations: 4 kB / 1.011 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002242/1.945, allocations: 0.7299 MB / 1.012 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.946, allocations: 8.516 kB / 1.012 GB, free: 5.797 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.946, allocations: 12 kB / 1.012 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.947, allocations: 171.7 kB / 1.012 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/1.947, allocations: 15.88 kB / 1.012 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/1.948, allocations: 150.9 kB / 1.012 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/1.948, allocations: 28 kB / 1.012 GB, free: 5.426 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (boxWitPreIndDam.conCoo.con1.y,boxWitPreIndDam.conHea.con1.y,boxWitExpDam.conDam.con1.y,boxWitExpDam.conCoo.con1.y,boxWitExpDam.conHea.con1.y,$PRE.boxWitExpDam.hysWitHol.y,boxWitExpDam.hysWitHol.y,$PRE.boxWitPreIndDam.hysWitHol.y,boxWitPreIndDam.hysWitHol.y,boxWitPreIndDam.greThr.y,boxWitExpDam.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * 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.001362/1.95, allocations: 380.9 kB / 1.013 GB, free: 5.043 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/1.95, allocations: 122.5 kB / 1.013 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/1.953, allocations: 0.8763 MB / 1.014 GB, free: 4.039 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.953, allocations: 12 kB / 1.014 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.953, allocations: 0 / 1.014 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/1.953, allocations: 3.984 kB / 1.014 GB, free: 4.023 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/1.959, allocations: 2.087 MB / 1.016 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.959, allocations: 0 / 1.016 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.96, allocations: 171.8 kB / 1.016 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.026e-05/1.961, allocations: 4 kB / 1.016 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.49e-05/1.961, allocations: 19.98 kB / 1.016 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/1.961, allocations: 0 / 1.016 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/1.961, allocations: 8 kB / 1.016 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/1.965, allocations: 1.365 MB / 1.017 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/1.966, allocations: 211.5 kB / 1.017 GB, free: 76 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/1.966, allocations: 19.98 kB / 1.017 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/1.967, allocations: 99.92 kB / 1.018 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/1.967, allocations: 52.58 kB / 1.018 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/1.967, allocations: 23.98 kB / 1.018 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001905/1.969, allocations: 0.6797 MB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/1.969, allocations: 0 / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002076/1.971, allocations: 410.2 kB / 1.019 GB, free: 14.79 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (boxWitExpDam.conHea.I.y,boxWitExpDam.conCoo.I.y,boxWitExpDam.conDam.I.y,boxWitPreIndDam.conHea.I.y,boxWitPreIndDam.conCoo.I.y) * Number of discrete variables: 2 (boxWitExpDam.hysWitHol.y,boxWitPreIndDam.hysWitHol.y) * Number of discrete states: 2 (boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * 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.005785/1.977, allocations: 1.948 MB / 1.021 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004746/1.982, allocations: 1.228 MB / 1.022 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.982, allocations: 0 / 1.022 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.983, allocations: 408.5 kB / 1.022 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.985, allocations: 221.8 kB / 1.022 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02833/2.014, allocations: 9.368 MB / 1.032 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/2.016, allocations: 1.124 MB / 1.033 GB, free: 96 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00132/2.017, allocations: 139.9 kB / 1.033 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/2.019, allocations: 491.3 kB / 1.033 GB, free: 15.47 MB / 0.795 GB Notification: Performance of SimCode: time 2.655e-06/2.019, allocations: 0 / 1.033 GB, free: 15.47 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09311/2.112, allocations: 20.88 MB / 1.054 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004407/2.112, allocations: 201 kB / 1.054 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.034/7.146, allocations: 0 / 1.054 GB, free: 10.68 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat does not exist to compare? outputFormat=mat