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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004841/0.004841, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001359/0.001359, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.37/2.37, allocations: 482.6 MB / 0.7551 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 68.14 kB / 1.083 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2495, allocations: 162.3 MB / 1.242 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001976/0.2515, allocations: 1.014 MB / 1.243 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2525, allocations: 0.9713 MB / 1.244 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.2526, allocations: 4 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.254e-05/0.2527, allocations: 19.75 kB / 1.244 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.584e-05/0.2527, allocations: 19.78 kB / 1.244 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2529, allocations: 67.88 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.2531, allocations: 164.1 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.2533, allocations: 84.17 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2534, allocations: 83.69 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.2535, allocations: 67.62 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.2535, allocations: 20 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.338e-05/0.2536, allocations: 16 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.2536, allocations: 35.86 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.774e-05/0.2537, allocations: 75.59 kB / 1.244 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.2539, allocations: 211.3 kB / 1.245 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2539, allocations: 0 / 1.245 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2539, allocations: 3.938 kB / 1.245 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2539, allocations: 0 / 1.245 GB, free: 6.102 MB / 0.9669 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.0005848/0.2545, allocations: 462.7 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.2545, allocations: 12.03 kB / 1.245 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.2546, allocations: 46.73 kB / 1.245 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2546, allocations: 20.78 kB / 1.245 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.255, allocations: 248.1 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2551, allocations: 16.31 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.2551, allocations: 16.38 kB / 1.245 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.2554, allocations: 146.6 kB / 1.246 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2554, allocations: 3.938 kB / 1.246 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.2554, allocations: 8 kB / 1.246 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2554, allocations: 4 kB / 1.246 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.2558, allocations: 115.9 kB / 1.246 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.2564, allocations: 488.1 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.2566, allocations: 114.7 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2568, allocations: 52.83 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.2568, allocations: 11.98 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2568, allocations: 30.56 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.133e-06/0.2568, allocations: 0 / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0004925/0.2573, allocations: 181.7 kB / 1.247 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2574, allocations: 51.41 kB / 1.247 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2575, allocations: 161.2 kB / 1.247 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2575, allocations: 25.7 kB / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.2576, allocations: 120.4 kB / 1.247 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.2576, allocations: 35.67 kB / 1.247 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.2577, allocations: 45.66 kB / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2578, allocations: 322.8 kB / 1.247 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.258, allocations: 47.95 kB / 1.247 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.2581, allocations: 73.66 kB / 1.247 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.2584, allocations: 115.4 kB / 1.247 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2584, allocations: 4 kB / 1.248 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003349/0.2588, allocations: 153.4 kB / 1.248 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2588, allocations: 9.562 kB / 1.248 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2588, allocations: 0 / 1.248 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.2588, allocations: 0 / 1.248 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.259, allocations: 28.06 kB / 1.248 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.259, allocations: 4 kB / 1.248 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.2591, allocations: 19.94 kB / 1.248 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.2591, allocations: 4 kB / 1.248 GB, free: 2.711 MB / 0.9669 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 0.0001068/0.2592, allocations: 145.6 kB / 1.248 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2592, allocations: 11.95 kB / 1.248 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.2593, allocations: 12.72 kB / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2593, allocations: 4 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2593, allocations: 4 kB / 1.248 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2593, allocations: 3.984 kB / 1.248 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2595, allocations: 233.5 kB / 1.248 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2595, allocations: 3.984 kB / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.2596, allocations: 19.98 kB / 1.248 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2597, allocations: 0 / 1.248 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.2597, allocations: 4 kB / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2597, allocations: 4 kB / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2597, allocations: 3.938 kB / 1.248 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.2601, allocations: 235.3 kB / 1.248 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.2601, allocations: 89.02 kB / 1.248 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.2601, allocations: 3.984 kB / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.2602, allocations: 4 kB / 1.248 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.2603, allocations: 23.97 kB / 1.248 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.2603, allocations: 4 kB / 1.248 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.2604, allocations: 115.2 kB / 1.249 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2604, allocations: 0 / 1.249 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000227/0.2606, allocations: 31.89 kB / 1.249 GB, free: 1.68 MB / 0.9669 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.0006684/0.2613, allocations: 0.7714 MB / 1.249 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.2616, allocations: 107.9 kB / 1.249 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2616, allocations: 0 / 1.249 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.2618, allocations: 64.44 kB / 1.25 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.2621, allocations: 20.12 kB / 1.25 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.264, allocations: 1.742 MB / 1.251 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.2643, allocations: 0.7123 MB / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.549e-05/0.2644, allocations: 21.08 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.2645, allocations: 51.42 kB / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.2645, allocations: 0 / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.934/4.199, allocations: 2.769 MB / 1.255 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/14.67, allocations: 11.73 kB / 1.255 GB, free: 11.48 MB / 0.9825 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=400 --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