Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides",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.0009507/0.0009508, allocations: 86.64 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.001107/0.001107, 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.426/1.426, allocations: 223.2 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.6/2.6, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003605, allocations: 15.94 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7952, allocations: 146.8 MB / 0.9812 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.001718/0.797, allocations: 0.9708 MB / 0.9821 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.799, allocations: 1.292 MB / 0.9834 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.7993, allocations: 4 kB / 0.9834 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.554e-05/0.7994, allocations: 19.78 kB / 0.9834 GB, free: 4 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.7996, allocations: 19.8 kB / 0.9834 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.8003, allocations: 182.4 kB / 0.9836 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.8007, allocations: 324.3 kB / 0.9839 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.801, allocations: 128.9 kB / 0.984 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.8012, allocations: 107.6 kB / 0.9842 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.8014, allocations: 123.4 kB / 0.9843 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.8014, allocations: 12 kB / 0.9843 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.839e-05/0.8015, allocations: 23.98 kB / 0.9843 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.8016, allocations: 43.77 kB / 0.9843 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.9e-05/0.8017, allocations: 73.56 kB / 0.9844 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.8021, allocations: 349.3 kB / 0.9847 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8021, allocations: 0 / 0.9847 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8021, allocations: 0 / 0.9847 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.8021, allocations: 0 / 0.9847 GB, free: 2.637 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001075/0.8032, allocations: 0.598 MB / 0.9853 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.8032, allocations: 8.031 kB / 0.9853 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.433e-05/0.8033, allocations: 66.55 kB / 0.9854 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.8034, allocations: 31.62 kB / 0.9854 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008897/0.8043, allocations: 378.6 kB / 0.9858 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.8044, allocations: 20.56 kB / 0.9858 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.8045, allocations: 32 kB / 0.9858 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.8051, allocations: 323.7 kB / 0.9862 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.8051, allocations: 0 / 0.9862 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.8052, allocations: 15.94 kB / 0.9862 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.8052, allocations: 8 kB / 0.9862 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.8058, allocations: 244.4 kB / 0.9864 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.8073, allocations: 0.9909 MB / 0.9874 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.8078, allocations: 219.8 kB / 0.9876 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.8081, allocations: 110.6 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.8081, allocations: 8 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.8086, allocations: 187.7 kB / 0.9879 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.8086, allocations: 0 / 0.9879 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0009397/0.8095, allocations: 337.2 kB / 0.9882 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.8096, allocations: 106.8 kB / 0.9883 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.8098, allocations: 228 kB / 0.9885 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.8098, allocations: 33.7 kB / 0.9886 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.81, allocations: 176.4 kB / 0.9887 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.81, allocations: 63.09 kB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.8101, allocations: 7.938 kB / 0.9888 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8102, allocations: 346.7 kB / 0.9891 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.8105, allocations: 104.5 kB / 0.9892 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.8109, allocations: 195.6 kB / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.8112, allocations: 145.6 kB / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8112, allocations: 0 / 0.9895 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008777/0.8121, allocations: 382.8 kB / 0.9899 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.8122, allocations: 37.69 kB / 0.9899 GB, free: 12.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8122, allocations: 4 kB / 0.9899 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.8122, allocations: 4 kB / 0.99 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.8125, allocations: 51.91 kB / 0.99 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.8125, allocations: 7.984 kB / 0.99 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.8128, allocations: 75.86 kB / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.8129, allocations: 23.92 kB / 0.9901 GB, free: 12.77 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.000171/0.8131, allocations: 158.3 kB / 0.9903 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.8131, allocations: 27.7 kB / 0.9903 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.8132, allocations: 25.39 kB / 0.9903 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8132, allocations: 4 kB / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.8132, allocations: 0 / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8132, allocations: 0 / 0.9903 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.8136, allocations: 321.9 kB / 0.9906 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8136, allocations: 4 kB / 0.9906 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.8138, allocations: 43.97 kB / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.8138, allocations: 0 / 0.9907 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.8138, allocations: 15.98 kB / 0.9907 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.8139, allocations: 0 / 0.9907 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8139, allocations: 3.938 kB / 0.9907 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.8145, allocations: 296.4 kB / 0.991 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.8146, allocations: 96.83 kB / 0.9911 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.8146, allocations: 11.98 kB / 0.9911 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.8148, allocations: 19.98 kB / 0.9911 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.8149, allocations: 31.95 kB / 0.9911 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.8149, allocations: 7.984 kB / 0.9911 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001199/0.815, allocations: 145.9 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.815, allocations: 4 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003357/0.8154, allocations: 71.69 kB / 0.9913 GB, free: 11.42 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009954/0.8164, allocations: 0.8479 MB / 0.9922 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007465/0.8172, allocations: 324.1 kB / 0.9925 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8172, allocations: 0 / 0.9925 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.8175, allocations: 127.8 kB / 0.9926 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.8178, allocations: 38.91 kB / 0.9926 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.8205, allocations: 1.461 MB / 0.9941 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.8209, allocations: 0.7597 MB / 0.9948 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000197/0.8211, allocations: 38.23 kB / 0.9948 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.8212, allocations: 95.39 kB / 0.9949 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.8212, allocations: 0 / 0.9949 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.8384, allocations: 5.108 MB / 0.9999 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.8387, allocations: 239.6 kB / 1 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.724, allocations: 0 / 1 GB, free: 2.496 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat