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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001243/0.001243, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001182/0.001182, allocations: 195 kB / 16.14 MB, free: 6.648 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.244/2.244, allocations: 437 MB / 0.7099 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.91 kB / 0.8687 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4897, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00196/0.4917, allocations: 1.059 MB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.4926, allocations: 0.9714 MB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.4926, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.155e-05/0.4927, allocations: 7.875 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.4928, allocations: 15.84 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.4929, allocations: 47.97 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.4931, allocations: 151.6 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.4932, allocations: 92.14 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.4933, allocations: 63.72 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.4934, allocations: 63.67 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.4934, allocations: 12 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.298e-05/0.4935, allocations: 8 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.4935, allocations: 27.86 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.4936, allocations: 55.66 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.4937, allocations: 197.6 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4937, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.21e-07/0.4937, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.4938, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 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.0005307/0.4943, allocations: 451.2 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.4943, allocations: 8.031 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.4944, allocations: 46.73 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.4944, allocations: 16.75 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.4948, allocations: 260.1 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4948, allocations: 12.66 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.4948, allocations: 16.31 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.4951, allocations: 148.3 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.4951, allocations: 3.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4951, allocations: 8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4951, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.4954, allocations: 112.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.496, allocations: 480 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.4962, allocations: 98.69 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.4964, allocations: 44.83 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.4964, allocations: 8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.4964, allocations: 34.56 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.4964, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.00046/0.4969, allocations: 169.4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.4969, allocations: 55.41 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.497, allocations: 154.5 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.4971, allocations: 29.7 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.4971, allocations: 119.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.4971, allocations: 35.53 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.4972, allocations: 37.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.4973, allocations: 326.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4974, allocations: 39.97 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.4976, allocations: 71.39 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.4978, allocations: 115.2 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.4978, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00031/0.4981, allocations: 153.8 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4982, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4982, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.4982, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.4983, allocations: 23.98 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4983, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.4984, allocations: 27.92 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.4985, allocations: 4 kB / 1.022 GB, free: 12.62 MB / 0.7794 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 8.693e-05/0.4986, allocations: 140.1 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.4986, allocations: 7.906 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.4986, allocations: 16.7 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4986, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4986, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4986, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.4988, allocations: 237.4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4989, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.499, allocations: 23.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.499, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.499, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.499, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.499, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.4993, allocations: 227.3 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.4994, allocations: 92.94 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.4994, allocations: 4 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4995, allocations: 7.984 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.4996, allocations: 15.98 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.4996, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.4996, allocations: 115.2 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4997, allocations: 0 / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002301/0.4999, allocations: 27.84 kB / 1.023 GB, free: 11.62 MB / 0.7794 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.0005315/0.5004, allocations: 0.7669 MB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.5007, allocations: 115.8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5007, allocations: 0 / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.5009, allocations: 51.95 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5011, allocations: 15.94 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.5029, allocations: 1.747 MB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.5031, allocations: 0.7162 MB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.5032, allocations: 20.62 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.5033, allocations: 47.42 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of SimCode: time 1.673e-06/0.5033, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4172/0.9205, allocations: 2.434 MB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.9207, allocations: 256 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.495, allocations: 6.172 kB / 1.029 GB, free: 5.457 MB / 0.7794 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=50 --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