Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",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.0008847/0.0008847, allocations: 86.33 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.001129/0.001129, 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.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.463/2.463, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.7546, allocations: 146.8 MB / 0.9812 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00138/0.7561, allocations: 0.7794 MB / 0.982 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.7573, allocations: 0.987 MB / 0.9829 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.7574, allocations: 0 / 0.9829 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.7574, allocations: 19.86 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.7575, allocations: 11.86 kB / 0.983 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.7577, allocations: 55.94 kB / 0.983 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.758, allocations: 196.2 kB / 0.9832 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.7582, allocations: 90.61 kB / 0.9833 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.7583, allocations: 59.72 kB / 0.9833 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.7585, allocations: 63.58 kB / 0.9834 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.7585, allocations: 4 kB / 0.9834 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.7585, allocations: 8 kB / 0.9834 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.7586, allocations: 31.83 kB / 0.9834 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.7586, allocations: 49.64 kB / 0.9835 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.7589, allocations: 213.7 kB / 0.9837 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7589, allocations: 0 / 0.9837 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7589, allocations: 0 / 0.9837 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.7589, allocations: 4 kB / 0.9837 GB, free: 3.699 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006807/0.7596, allocations: 464.7 kB / 0.9841 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7597, allocations: 8.031 kB / 0.9841 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.7597, allocations: 58.48 kB / 0.9842 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.7598, allocations: 23.72 kB / 0.9842 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.7603, allocations: 283.1 kB / 0.9845 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.7603, allocations: 12.44 kB / 0.9845 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.7603, allocations: 20 kB / 0.9845 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.7607, allocations: 191.2 kB / 0.9847 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7608, allocations: 0 / 0.9847 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.7608, allocations: 16 kB / 0.9847 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.7608, allocations: 4 kB / 0.9847 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.7612, allocations: 157.6 kB / 0.9849 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.762, allocations: 0.5686 MB / 0.9854 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.7623, allocations: 134.7 kB / 0.9856 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.7624, allocations: 68.81 kB / 0.9856 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.7625, allocations: 4 kB / 0.9856 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.7625, allocations: 30.56 kB / 0.9857 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 3.226e-06/0.7625, allocations: 11.88 kB / 0.9857 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0006106/0.7631, allocations: 222.4 kB / 0.9859 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.7632, allocations: 55.41 kB / 0.9859 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.7634, allocations: 170.3 kB / 0.9861 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.7634, allocations: 25.7 kB / 0.9861 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.7635, allocations: 148.2 kB / 0.9863 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.7635, allocations: 35.41 kB / 0.9863 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.7636, allocations: 8 kB / 0.9863 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7637, allocations: 326.8 kB / 0.9866 GB, free: 488 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.7639, allocations: 55.95 kB / 0.9867 GB, free: 432 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.7641, allocations: 109 kB / 0.9868 GB, free: 304 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.7642, allocations: 58.22 kB / 0.9868 GB, free: 248 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7642, allocations: 0 / 0.9868 GB, free: 248 kB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003968/0.7646, allocations: 193.4 kB / 0.987 GB, free: 48 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7647, allocations: 4 kB / 0.987 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.7647, allocations: 11.92 kB / 0.987 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7647, allocations: 4 kB / 0.987 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.7649, allocations: 31.97 kB / 0.9871 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.7649, allocations: 7.953 kB / 0.9871 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.765, allocations: 23.78 kB / 0.9871 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.7651, allocations: 12.06 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001349/0.7652, allocations: 141.8 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.7652, allocations: 7.906 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.7653, allocations: 21.47 kB / 0.9873 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7653, allocations: 4 kB / 0.9873 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7653, allocations: 0 / 0.9873 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7653, allocations: 3.953 kB / 0.9873 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.7656, allocations: 265.5 kB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7656, allocations: 4 kB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.7658, allocations: 27.98 kB / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7658, allocations: 0 / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.7658, allocations: 7.984 kB / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7658, allocations: 0 / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7658, allocations: 0 / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.7662, allocations: 271.1 kB / 0.9878 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.7663, allocations: 88.92 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.7663, allocations: 0 / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.7664, allocations: 19.98 kB / 0.9879 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.7665, allocations: 19.97 kB / 0.9879 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.7665, allocations: 4 kB / 0.988 GB, free: 15 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.439e-05/0.7666, allocations: 117.8 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7666, allocations: 0 / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000264/0.7669, allocations: 39.78 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0007346/0.7676, allocations: 0.8077 MB / 0.9889 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.768, allocations: 155.8 kB / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.768, allocations: 0 / 0.989 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.7682, allocations: 79.03 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.7685, allocations: 23.89 kB / 0.9891 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.7702, allocations: 0.9808 MB / 0.9901 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.7705, allocations: 0.7285 MB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000112/0.7706, allocations: 29.52 kB / 0.9908 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.7707, allocations: 55.42 kB / 0.9909 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of SimCode: time 1.954e-06/0.7708, allocations: 0 / 0.9909 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.7848, allocations: 3.022 MB / 0.9938 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.7851, allocations: 264.3 kB / 0.9941 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.578, allocations: 0 / 0.9941 GB, free: 8.758 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat does not exist to compare? outputFormat=mat