Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00492/0.004925, allocations: 99.33 kB / 15.73 MB, free: 6.012 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.001337/0.001337, allocations: 192.8 kB / 16.68 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.408/1.408, 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 10.1.1-maint.10.0.x/package.mo): time 2.191/2.191, allocations: 437.1 MB / 0.7106 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 75.88 kB / 1.018 GB, free: 9.828 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5871, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002827/0.5899, allocations: 1.013 MB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.5916, allocations: 0.9713 MB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-05/0.5917, allocations: 0 / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.871e-05/0.5918, allocations: 15.8 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.592, allocations: 23.8 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.5922, allocations: 55.88 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.5925, allocations: 163.6 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.5927, allocations: 85.91 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.5929, allocations: 67.72 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.5931, allocations: 71.67 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.5931, allocations: 20 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.415e-05/0.5932, allocations: 16 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.5932, allocations: 39.84 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.5934, allocations: 71.66 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.5937, allocations: 206.7 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5937, allocations: 4 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5937, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.5937, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0008295/0.5946, allocations: 451 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5946, allocations: 8.031 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.504e-05/0.5947, allocations: 42.75 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.5948, allocations: 24.83 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.5954, allocations: 248.3 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.5954, allocations: 12.66 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.5954, allocations: 16.31 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.5959, allocations: 141.1 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.596, allocations: 11.88 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.596, allocations: 4 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.596, allocations: 7.984 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.5965, allocations: 108.8 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008788/0.5974, allocations: 480.1 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004093/0.5978, allocations: 110.5 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.5981, allocations: 48.89 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5981, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.5981, allocations: 34.56 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.5982, allocations: 4 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0007913/0.599, allocations: 169.4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.599, allocations: 51.41 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.5992, allocations: 157.2 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.5993, allocations: 29.7 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.5994, allocations: 127.9 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.5994, allocations: 35.73 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.5995, allocations: 37.7 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5997, allocations: 322.8 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.5999, allocations: 39.97 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.6002, allocations: 77.02 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.6006, allocations: 103.3 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6006, allocations: 0 / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005547/0.6012, allocations: 153.5 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6012, allocations: 4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6012, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6013, allocations: 4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.6015, allocations: 23.97 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.6015, allocations: 4 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.6017, allocations: 20.03 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.6017, allocations: 8 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (reaToInt2.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 (14): * Single equations (assignments): 14 * 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.0001521/0.6019, allocations: 135.9 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.6019, allocations: 7.953 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.602, allocations: 16.7 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.602, allocations: 4 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.602, allocations: 0 / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.602, allocations: 3.938 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.6024, allocations: 237.4 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6024, allocations: 7.984 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.6026, allocations: 19.98 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6026, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.6027, allocations: 4 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6027, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6027, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.6032, allocations: 231.3 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.6033, allocations: 89.02 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.6034, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.6035, allocations: 15.92 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.6036, allocations: 19.97 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.6037, allocations: 3.938 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001132/0.6038, allocations: 116 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6038, allocations: 0 / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004154/0.6042, allocations: 27.89 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000943/0.6052, allocations: 0.7676 MB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005145/0.6057, allocations: 115.8 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6057, allocations: 0 / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.606, allocations: 51.97 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.6064, allocations: 19.8 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.6094, allocations: 1.722 MB / 1.175 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.6098, allocations: 0.7123 MB / 1.176 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.61, allocations: 16.64 kB / 1.176 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6101, allocations: 47.41 kB / 1.176 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.6101, allocations: 0 / 1.176 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.031/3.642, allocations: 2.726 MB / 1.179 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/20.29, allocations: 15.75 kB / 1.179 GB, free: 6.461 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches