Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.0007912/0.0007911, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008101/0.0008101, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.473/2.473, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 15.92 kB / 0.8378 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6854, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003045/0.6885, allocations: 2.614 MB / 0.9837 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.6901, allocations: 1.021 MB / 0.9847 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.6903, allocations: 19.88 kB / 0.9847 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.6905, allocations: 59.45 kB / 0.9848 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.6907, allocations: 79.3 kB / 0.9849 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.6913, allocations: 241.2 kB / 0.9851 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.6918, allocations: 0.5387 MB / 0.9856 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.6921, allocations: 165.8 kB / 0.9858 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.6923, allocations: 163 kB / 0.9859 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.6925, allocations: 143 kB / 0.9861 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.6925, allocations: 12 kB / 0.9861 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.6926, allocations: 12 kB / 0.9861 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.6926, allocations: 55.64 kB / 0.9861 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.045e-05/0.6927, allocations: 101.5 kB / 0.9862 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.6931, allocations: 0.5203 MB / 0.9867 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6931, allocations: 0 / 0.9867 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6931, allocations: 0 / 0.9867 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.6931, allocations: 7.938 kB / 0.9867 GB, free: 500 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001066/0.6942, allocations: 0.7437 MB / 0.9875 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6943, allocations: 8.031 kB / 0.9875 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.325e-05/0.6943, allocations: 70.53 kB / 0.9876 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.33e-05/0.6944, allocations: 55.25 kB / 0.9876 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.6951, allocations: 497.4 kB / 0.9881 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.6952, allocations: 24.66 kB / 0.9881 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.6952, allocations: 24 kB / 0.9881 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.6958, allocations: 378.8 kB / 0.9885 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6958, allocations: 0 / 0.9885 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.6959, allocations: 15.98 kB / 0.9885 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6959, allocations: 8 kB / 0.9885 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.6965, allocations: 266 kB / 0.9888 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.6979, allocations: 1.436 MB / 0.9902 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.6985, allocations: 277.7 kB / 0.9904 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.6988, allocations: 140.8 kB / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.6989, allocations: 4 kB / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.6989, allocations: 34.56 kB / 0.9906 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.342e-06/0.6989, allocations: 0 / 0.9906 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.000796/0.6997, allocations: 378.9 kB / 0.991 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.6997, allocations: 59.34 kB / 0.991 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.7001, allocations: 413.8 kB / 0.9914 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.7002, allocations: 33.7 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.7003, allocations: 256.1 kB / 0.9917 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.7004, allocations: 86.83 kB / 0.9918 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.7004, allocations: 8 kB / 0.9918 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7006, allocations: 350.8 kB / 0.9921 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.7008, allocations: 100.5 kB / 0.9922 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.7011, allocations: 168.8 kB / 0.9924 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.7013, allocations: 121.4 kB / 0.9925 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.7013, allocations: 11.94 kB / 0.9925 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006094/0.702, allocations: 346.8 kB / 0.9928 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.702, allocations: 4 kB / 0.9928 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.702, allocations: 4.25 kB / 0.9928 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.702, allocations: 8 kB / 0.9928 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.7023, allocations: 67.89 kB / 0.9929 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.7023, allocations: 4 kB / 0.9929 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.7025, allocations: 35.77 kB / 0.9929 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.7025, allocations: 11.98 kB / 0.993 GB, free: 9.832 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001787/0.7027, allocations: 177.7 kB / 0.9931 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.7028, allocations: 47.39 kB / 0.9932 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.348e-05/0.7029, allocations: 43.98 kB / 0.9932 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.7029, allocations: 4 kB / 0.9932 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7029, allocations: 0 / 0.9932 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7029, allocations: 3.984 kB / 0.9932 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.7034, allocations: 433.2 kB / 0.9936 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7034, allocations: 0 / 0.9936 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.7037, allocations: 59.84 kB / 0.9937 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.7037, allocations: 4 kB / 0.9937 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.7037, allocations: 4 kB / 0.9937 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7037, allocations: 0 / 0.9937 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7037, allocations: 4 kB / 0.9937 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000853/0.7046, allocations: 0.5083 MB / 0.9942 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.7047, allocations: 140.5 kB / 0.9943 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.7048, allocations: 16.02 kB / 0.9944 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.7049, allocations: 19.92 kB / 0.9944 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.705, allocations: 11.98 kB / 0.9944 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.705, allocations: 7.984 kB / 0.9944 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002666/0.7053, allocations: 287.1 kB / 0.9947 GB, free: 8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7053, allocations: 3.938 kB / 0.9947 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003119/0.7056, allocations: 71.69 kB / 0.9947 GB, free: 7.926 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * 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.001064/0.7067, allocations: 1.058 MB / 0.9958 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005351/0.7072, allocations: 252.5 kB / 0.996 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7072, allocations: 0 / 0.996 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.7075, allocations: 124.4 kB / 0.9961 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.7081, allocations: 116.1 kB / 0.9962 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.7119, allocations: 2.397 MB / 0.9986 GB, free: 3.883 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.7123, allocations: 0.8191 MB / 0.9994 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.7125, allocations: 47.27 kB / 0.9994 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.7127, allocations: 147.4 kB / 0.9996 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.7127, allocations: 0 / 0.9996 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.7303, allocations: 7.641 MB / 1.007 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.7305, allocations: 230.9 kB / 1.007 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.577, allocations: 0 / 1.007 GB, free: 11.23 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat does not exist to compare? outputFormat=mat