Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.004564/0.004564, allocations: 101.9 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.00107/0.00107, allocations: 190.9 kB / 16.67 MB, free: 5.949 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 59.36 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2197, allocations: 140.4 MB / 1.088 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001933/0.2217, allocations: 0.9992 MB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.2226, allocations: 0.9713 MB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.2227, allocations: 4 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.2228, allocations: 15.86 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.162e-05/0.2229, allocations: 15.8 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.2231, allocations: 63.86 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2232, allocations: 163.5 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.2234, allocations: 88.17 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.2235, allocations: 63.72 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.757e-05/0.2236, allocations: 67.69 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.2236, allocations: 16 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.2237, allocations: 16 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.2237, allocations: 43.83 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.2238, allocations: 67.67 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.224, allocations: 202 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.224, allocations: 4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.224, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.224, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 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.0005654/0.2245, allocations: 444.1 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2246, allocations: 8.031 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.2246, allocations: 50.72 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.2247, allocations: 16.75 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.2251, allocations: 272.1 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2251, allocations: 8.656 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.2251, allocations: 12.38 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.2254, allocations: 143.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2254, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2255, allocations: 7.938 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2255, allocations: 4 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.2258, allocations: 116.8 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.2263, allocations: 464.1 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.2266, allocations: 106.5 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.2267, allocations: 52.89 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2268, allocations: 0 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2268, allocations: 34.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.2268, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004938/0.2273, allocations: 169.4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2273, allocations: 63.28 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2274, allocations: 158.6 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2275, allocations: 25.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.2275, allocations: 119.8 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.2276, allocations: 27.56 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.2276, allocations: 41.69 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.2277, allocations: 322.8 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2279, allocations: 47.97 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.228, allocations: 71.41 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.2283, allocations: 111.2 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2283, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003361/0.2286, allocations: 149.4 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2287, allocations: 5.406 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2287, allocations: 8.078 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2287, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.2288, allocations: 27.91 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2289, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.229, allocations: 19.92 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.229, allocations: 4 kB / 1.093 GB, free: 11.89 MB / 0.8575 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 9.56e-05/0.2291, allocations: 127.2 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.2291, allocations: 15.81 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.2292, allocations: 16.72 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2292, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2292, allocations: 3.984 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2292, allocations: 7.922 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.2294, allocations: 233.5 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2294, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2295, allocations: 23.97 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2295, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2296, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2296, allocations: 4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2296, allocations: 0 / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.2299, allocations: 223.9 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.23, allocations: 92.86 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.23, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2301, allocations: 11.98 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.2302, allocations: 23.92 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.2302, allocations: 7.922 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.2303, allocations: 107.3 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2303, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002351/0.2305, allocations: 23.94 kB / 1.094 GB, free: 10.89 MB / 0.8575 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.0006145/0.2311, allocations: 0.7747 MB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.2315, allocations: 107.8 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2315, allocations: 0 / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2316, allocations: 64.08 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2319, allocations: 17.36 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2338, allocations: 1.721 MB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.234, allocations: 0.7123 MB / 1.097 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.75e-05/0.2341, allocations: 20.64 kB / 1.097 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.2342, allocations: 51.34 kB / 1.097 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.2342, allocations: 0 / 1.097 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/1.304, allocations: 2.71 MB / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.688/10.99, allocations: 6.812 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches