Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveDamPos|ove.uDam|ove.yDam|ove.uHeaOff|ove.uVal|ove.yVal|ove.u1Fan|ove.y1Fan|ove.oveFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 110.2 kB / 16.37 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.001568/0.001568, allocations: 190.1 kB / 17.31 MB, free: 5.613 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.16 kB / 0.8141 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3213, allocations: 140.4 MB / 0.9512 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides): time 0.003094/0.3244, allocations: 1.358 MB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3265, allocations: 1.304 MB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.3266, allocations: 4 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.3267, allocations: 35.53 kB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3269, allocations: 39.59 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007074/0.3276, allocations: 219.5 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.3281, allocations: 392.2 kB / 0.9544 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.3284, allocations: 169 kB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.3286, allocations: 151.5 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3288, allocations: 171.2 kB / 0.9549 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/0.3289, allocations: 40 kB / 0.9549 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.329, allocations: 51.98 kB / 0.955 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.625e-05/0.3291, allocations: 79.75 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.3293, allocations: 159.2 kB / 0.9552 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.3298, allocations: 478.2 kB / 0.9557 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3298, allocations: 0 / 0.9557 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3298, allocations: 8 kB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3298, allocations: 0 / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001145/0.331, allocations: 0.6371 MB / 0.9563 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.331, allocations: 12.03 kB / 0.9563 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.3311, allocations: 32.56 kB / 0.9563 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.332, allocations: 360.3 kB / 0.9567 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.332, allocations: 24.94 kB / 0.9567 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.3321, allocations: 32.38 kB / 0.9567 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.3327, allocations: 319.7 kB / 0.9571 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3327, allocations: 7.922 kB / 0.9571 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.3327, allocations: 12 kB / 0.9571 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3327, allocations: 8 kB / 0.9571 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.3334, allocations: 220.5 kB / 0.9573 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.3347, allocations: 0.9907 MB / 0.9583 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.3352, allocations: 211.8 kB / 0.9585 GB, free: 284 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.3355, allocations: 110.7 kB / 0.9586 GB, free: 164 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.3355, allocations: 4 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.336, allocations: 182.9 kB / 0.9587 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.3361, allocations: 0 / 0.9587 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0009615/0.337, allocations: 309.2 kB / 0.959 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.3371, allocations: 106.8 kB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.3373, allocations: 224 kB / 0.9594 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.3374, allocations: 29.7 kB / 0.9594 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3375, allocations: 180.2 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.182e-05/0.3376, allocations: 67.09 kB / 0.9596 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3377, allocations: 77.67 kB / 0.9597 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3378, allocations: 338.8 kB / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.3381, allocations: 104.1 kB / 0.9601 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.3385, allocations: 179.6 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.3391, allocations: 296.6 kB / 0.9606 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3392, allocations: 7.938 kB / 0.9606 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008477/0.34, allocations: 370.7 kB / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.3401, allocations: 33.7 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3401, allocations: 4 kB / 0.961 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3401, allocations: 4 kB / 0.961 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.3404, allocations: 51.89 kB / 0.961 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3404, allocations: 7.938 kB / 0.961 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.3407, allocations: 60.66 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.3408, allocations: 16 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition1,$whenCondition2,heaOff.y,$PRE.heaOff.y,reaToInt3.y,ove.intEqu2.y,ove.y1Fan,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,terFan.y,ove.con1.y,ove.con.y,ove.conInt6.y,ove.conInt5.y,ove.logSwi1.y,ove.conInt4.y,ove.conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0001704/0.3409, allocations: 160.5 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.341, allocations: 31.64 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.3411, allocations: 21.41 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3411, allocations: 8 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3411, allocations: 0 / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3411, allocations: 3.984 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.3414, allocations: 317.4 kB / 0.9616 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.3414, allocations: 11.92 kB / 0.9616 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.3416, allocations: 35.91 kB / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.181e-05/0.3417, allocations: 4 kB / 0.9617 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3417, allocations: 4 kB / 0.9617 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3417, allocations: 7.938 kB / 0.9617 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3417, allocations: 7.938 kB / 0.9617 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.3423, allocations: 273.2 kB / 0.9619 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.3424, allocations: 100.8 kB / 0.962 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.3424, allocations: 8 kB / 0.962 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3426, allocations: 15.97 kB / 0.9621 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.3427, allocations: 31.97 kB / 0.9621 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3427, allocations: 15.98 kB / 0.9621 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001214/0.3429, allocations: 149.5 kB / 0.9623 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3429, allocations: 0 / 0.9623 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003145/0.3432, allocations: 67.69 kB / 0.9623 GB, free: 12.03 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,heaOff.y,ove.y1Fan,ove.intEqu2.y,reaToInt3.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002066/0.3434, allocations: 123.2 kB / 0.9624 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007496/0.3442, allocations: 311.5 kB / 0.9627 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3442, allocations: 4 kB / 0.9627 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.3445, allocations: 115.9 kB / 0.9628 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3448, allocations: 55.39 kB / 0.9629 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008571/0.3457, allocations: 448.4 kB / 0.9633 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.346, allocations: 0.7597 MB / 0.9641 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000137/0.3462, allocations: 38.28 kB / 0.9641 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.3463, allocations: 27.44 kB / 0.9641 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3463, allocations: 4 kB / 0.9641 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.00686/0.3531, allocations: 3.118 MB / 0.9672 GB, free: 7.031 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches