Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8913/0.8913, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.72/1.72, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.172e-05, allocations: 9.234 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001634/0.001655, allocations: 0.9697 MB / 0.9819 GB, free: 1.59 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009382/0.002594, allocations: 1.007 MB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.002666, allocations: 4 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.002709, allocations: 19.73 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.002801, allocations: 15.81 kB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.00302, allocations: 71.8 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.003162, allocations: 168.1 kB / 0.9832 GB, free: 304 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.003316, allocations: 67.3 kB / 0.9833 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.00353, allocations: 107.7 kB / 0.9834 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.003608, allocations: 51.86 kB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.003633, allocations: 16 kB / 0.9834 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.517e-05/0.003678, allocations: 20 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.00372, allocations: 43.91 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.00376, allocations: 47.81 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.003976, allocations: 223.2 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.003979, allocations: 4 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.003981, allocations: 4 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.003986, allocations: 0 / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0004952/0.004481, allocations: 381.4 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.004522, allocations: 12.03 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.004563, allocations: 50.73 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.004673, allocations: 28.78 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.004939, allocations: 193.4 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.004956, allocations: 12.38 kB / 0.9844 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.004974, allocations: 12.38 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.005186, allocations: 147.6 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005194, allocations: 192 / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.005207, allocations: 8.375 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.005215, allocations: 8.125 kB / 0.9846 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.005411, allocations: 123.7 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.00588, allocations: 411.5 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.006076, allocations: 106.6 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.006155, allocations: 52.81 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.006173, allocations: 7.875 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.006196, allocations: 38.56 kB / 0.9853 GB, free: 14.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.724e-06/0.006198, allocations: 0 / 0.9853 GB, free: 14.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0003332/0.006531, allocations: 185.4 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.006562, allocations: 55.41 kB / 0.9855 GB, free: 13.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.00666, allocations: 157.6 kB / 0.9857 GB, free: 13.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.006672, allocations: 25.7 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.006726, allocations: 120.4 kB / 0.9858 GB, free: 13.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.00675, allocations: 35.64 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.006795, allocations: 41.69 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.006871, allocations: 334.8 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.006952, allocations: 39.97 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-05/0.007044, allocations: 75.39 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.007197, allocations: 107.3 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.0072, allocations: 3.938 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002011/0.007401, allocations: 145.5 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.007414, allocations: 11.94 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.007419, allocations: 0 / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.007433, allocations: 4 kB / 0.9866 GB, free: 12.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.007528, allocations: 27.91 kB / 0.9866 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007534, allocations: 8.094 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.007582, allocations: 19.88 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.00759, allocations: 4 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.007673, allocations: 129.8 kB / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.007692, allocations: 15.91 kB / 0.9867 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.007717, allocations: 16.77 kB / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007719, allocations: 0 / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.007723, allocations: 0 / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.007726, allocations: 0 / 0.9868 GB, free: 12.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.007883, allocations: 208.6 kB / 0.987 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007884, allocations: 0 / 0.987 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.00794, allocations: 19.92 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.007943, allocations: 4 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.007951, allocations: 4 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007953, allocations: 0 / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007953, allocations: 0 / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.008171, allocations: 235.2 kB / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.00818, allocations: 11.95 kB / 0.9872 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.008195, allocations: 8 kB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.008257, allocations: 7.984 kB / 0.9872 GB, free: 11.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.00831, allocations: 11.98 kB / 0.9873 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.008319, allocations: 15.98 kB / 0.9873 GB, free: 11.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.684e-05/0.008366, allocations: 113.2 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008366, allocations: 0 / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001732/0.008539, allocations: 31.89 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004173/0.008956, allocations: 0.7754 MB / 0.9882 GB, free: 10.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.009173, allocations: 111.9 kB / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.009175, allocations: 0 / 0.9883 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.009262, allocations: 60.09 kB / 0.9883 GB, free: 10.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.009538, allocations: 17.41 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.01101, allocations: 1.744 MB / 0.99 GB, free: 8.859 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.01108, allocations: 103.3 kB / 0.9901 GB, free: 8.742 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.553e-05/0.01114, allocations: 21.14 kB / 0.9902 GB, free: 8.715 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.01122, allocations: 48.48 kB / 0.9902 GB, free: 8.668 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/0.01122, allocations: 0 / 0.9902 GB, free: 8.668 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.02917, allocations: 3.462 MB / 0.9936 GB, free: 5.434 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.969/6.998, allocations: 8 kB / 0.9936 GB, free: 5.43 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.976178060285747]