Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.004586/0.004586, allocations: 99.66 kB / 15.73 MB, free: 6.062 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.00128/0.00128, allocations: 197.4 kB / 16.68 MB, free: 5.969 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.382/2.382, allocations: 482.6 MB / 0.755 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 65.31 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2517, allocations: 162.3 MB / 1.242 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00187/0.2536, allocations: 1.017 MB / 1.243 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.2546, allocations: 0.9713 MB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.2546, allocations: 0 / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.82e-05/0.2547, allocations: 19.73 kB / 1.244 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.2548, allocations: 27.73 kB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.255, allocations: 63.88 kB / 1.244 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.2551, allocations: 164.1 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2553, allocations: 89.72 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.2554, allocations: 75.7 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.2555, allocations: 71.62 kB / 1.244 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.2556, allocations: 16 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.2556, allocations: 16 kB / 1.244 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.676e-05/0.2556, allocations: 43.89 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.2557, allocations: 71.59 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.2559, allocations: 215.3 kB / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2559, allocations: 0 / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.256, allocations: 0 / 1.245 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.256, allocations: 0 / 1.245 GB, free: 6.098 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.0005831/0.2566, allocations: 462.7 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.2566, allocations: 11.97 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.2566, allocations: 50.73 kB / 1.245 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.2567, allocations: 16.84 kB / 1.245 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.2571, allocations: 256 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.2571, allocations: 8.375 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.2571, allocations: 20.38 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.2574, allocations: 150.6 kB / 1.246 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2574, allocations: 3.938 kB / 1.246 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2574, allocations: 4 kB / 1.246 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2575, allocations: 4 kB / 1.246 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.2578, allocations: 119.9 kB / 1.246 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.2583, allocations: 484.2 kB / 1.246 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.2586, allocations: 118.6 kB / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2587, allocations: 48.83 kB / 1.246 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2588, allocations: 4 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.2588, allocations: 38.56 kB / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.2588, allocations: 0 / 1.246 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0004746/0.2593, allocations: 177.4 kB / 1.247 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2593, allocations: 55.41 kB / 1.247 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2595, allocations: 161.2 kB / 1.247 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2595, allocations: 25.7 kB / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.2595, allocations: 116.4 kB / 1.247 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.2596, allocations: 35.67 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.2596, allocations: 45.59 kB / 1.247 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2598, allocations: 326.8 kB / 1.247 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.2599, allocations: 43.97 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.2601, allocations: 75.39 kB / 1.247 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.2603, allocations: 107.3 kB / 1.247 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.2603, allocations: 8 kB / 1.248 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003221/0.2607, allocations: 149.5 kB / 1.248 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2607, allocations: 5.875 kB / 1.248 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2607, allocations: 7.938 kB / 1.248 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2607, allocations: 3.984 kB / 1.248 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.2608, allocations: 23.98 kB / 1.248 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.2609, allocations: 4.094 kB / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.661e-05/0.261, allocations: 19.94 kB / 1.248 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.261, allocations: 4 kB / 1.248 GB, free: 2.707 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.0001029/0.2611, allocations: 141.6 kB / 1.248 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.2611, allocations: 7.953 kB / 1.248 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2611, allocations: 20.66 kB / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.2612, allocations: 0 / 1.248 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.2612, allocations: 4 kB / 1.248 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2612, allocations: 4 kB / 1.248 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.2614, allocations: 237.5 kB / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2614, allocations: 0 / 1.248 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2615, allocations: 23.97 kB / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2615, allocations: 0 / 1.248 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2615, allocations: 4 kB / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2615, allocations: 0 / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.2615, allocations: 0 / 1.248 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.2619, allocations: 239.7 kB / 1.248 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.2619, allocations: 93.02 kB / 1.248 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.262, allocations: 4 kB / 1.248 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.986e-05/0.2621, allocations: 7.984 kB / 1.248 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.2621, allocations: 15.98 kB / 1.248 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2622, allocations: 7.984 kB / 1.248 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.564e-05/0.2622, allocations: 113.8 kB / 1.249 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2622, allocations: 0 / 1.249 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002211/0.2625, 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.0006175/0.2631, allocations: 0.7714 MB / 1.249 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.2634, allocations: 115.9 kB / 1.249 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2634, allocations: 0 / 1.249 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2636, allocations: 59.91 kB / 1.25 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2638, allocations: 20.11 kB / 1.25 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.2657, allocations: 1.738 MB / 1.251 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.266, allocations: 0.7161 MB / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.162e-05/0.2661, allocations: 17.08 kB / 1.252 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.2662, allocations: 55.41 kB / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2662, allocations: 0 / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.934/6.2, allocations: 2.77 MB / 1.255 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.75/21.95, allocations: 10.95 kB / 1.255 GB, free: 11.47 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches