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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_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.001133/0.001133, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.007606/0.007606, allocations: 171.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 13.62 kB / 0.9029 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001019/0.2237, allocations: 0.7243 MB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008608/0.2246, allocations: 0.9636 MB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.2247, allocations: 0 / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2247, allocations: 11.92 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.2248, allocations: 7.875 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.2249, allocations: 67.88 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.2251, allocations: 148.1 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2252, allocations: 84.17 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2254, allocations: 47.77 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.2254, allocations: 59.64 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.2255, allocations: 8 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.2255, allocations: 7.938 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2255, allocations: 23.84 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.2256, allocations: 81.31 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2257, allocations: 187.5 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.2257, allocations: 0 / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2257, allocations: 4 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.2258, allocations: 0 / 1.061 GB, free: 2.406 MB / 0.8106 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.0004841/0.2262, allocations: 427.1 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2263, allocations: 11.97 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.2263, allocations: 46.73 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.2264, allocations: 20.75 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.2268, allocations: 265.5 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2268, allocations: 12.38 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2268, allocations: 12.38 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.2271, allocations: 158 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2271, allocations: 3.938 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2271, allocations: 4 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2272, allocations: 8 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.2275, allocations: 131.9 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005412/0.228, allocations: 492 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.2283, allocations: 126.6 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2285, allocations: 56.81 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.2285, allocations: 4 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2285, allocations: 38.56 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.2285, allocations: 4 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005032/0.229, allocations: 193.4 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2291, allocations: 51.41 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2292, allocations: 152.6 kB / 1.063 GB, free: 28 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.2292, allocations: 29.7 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.2293, allocations: 124.2 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.2293, allocations: 27.56 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.2293, allocations: 29.7 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.2294, allocations: 326.8 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2296, allocations: 51.95 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.2297, allocations: 78.22 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.23, allocations: 127.3 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.23, allocations: 3.938 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003393/0.2304, allocations: 161.8 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2304, allocations: 16.03 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2304, allocations: 0 / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2304, allocations: 0 / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.2306, allocations: 35.91 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2306, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.2307, allocations: 27.83 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2307, allocations: 4 kB / 1.064 GB, free: 14.95 MB / 0.8262 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.882e-05/0.2308, allocations: 129.8 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.2308, allocations: 11.81 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.2309, allocations: 16.72 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2309, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2309, allocations: 3.984 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2309, allocations: 0 / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2311, allocations: 241.5 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.2311, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.2312, allocations: 31.86 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2312, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2312, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2313, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2313, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.2316, allocations: 243.3 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.2317, allocations: 96.84 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2317, allocations: 4 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2318, allocations: 8 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.2319, allocations: 23.91 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.2319, allocations: 4 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.2319, allocations: 117.2 kB / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2319, allocations: 0 / 1.065 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002438/0.2322, allocations: 23.91 kB / 1.065 GB, free: 13.92 MB / 0.8262 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.0005871/0.2328, allocations: 0.7854 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.2331, allocations: 127.8 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2331, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.2333, allocations: 71.89 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2336, allocations: 24.12 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.2354, allocations: 1.807 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2356, allocations: 0.72 MB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.4e-05/0.2357, allocations: 21.02 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.2358, allocations: 47.42 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2358, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.411/1.647, allocations: 2.42 MB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.647, allocations: 264.9 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/3.423, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches