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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002518/0.002518, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 472.7 MB / 0.7452 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.98 kB / 0.9121 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4169, allocations: 159.9 MB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.003141/0.4201, allocations: 1.002 MB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.4214, allocations: 0.9869 MB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.4215, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.746e-05/0.4216, allocations: 15.75 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.4217, allocations: 19.8 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.422, allocations: 63.88 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.4222, allocations: 168 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002382/0.4225, allocations: 84.19 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.4226, allocations: 75.69 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.4228, allocations: 71.69 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.4228, allocations: 20 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.934e-05/0.4228, allocations: 16 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.4229, allocations: 31.86 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.423, allocations: 75.58 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.4232, allocations: 207.5 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4232, allocations: 4 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4232, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.4233, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 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.000681/0.4239, allocations: 450.9 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.424, allocations: 8.031 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.424, allocations: 16.75 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.4245, allocations: 258.4 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.4245, allocations: 8.375 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.4246, allocations: 16.38 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.4249, allocations: 146 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4249, allocations: 8.172 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4249, allocations: 7.938 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4249, allocations: 4 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.4253, allocations: 123.9 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.426, allocations: 480 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.4263, allocations: 126.6 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.4264, allocations: 52.83 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4265, allocations: 0 / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.4265, allocations: 38.55 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.695e-06/0.4265, allocations: 4 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0005507/0.4271, allocations: 177.7 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4271, allocations: 51.41 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4273, allocations: 157.9 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4273, allocations: 29.64 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.4274, allocations: 124.2 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4274, allocations: 31.56 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.4275, allocations: 41.7 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4276, allocations: 322.8 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4278, allocations: 47.95 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.428, allocations: 71.41 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.4283, allocations: 111.2 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4283, allocations: 0 / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003527/0.4286, allocations: 157.3 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4287, allocations: 8 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4287, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4287, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.4289, allocations: 27.97 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4289, allocations: 0 / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.429, allocations: 19.92 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.429, allocations: 8.094 kB / 1.074 GB, free: 4.16 MB / 0.8262 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.0001119/0.4291, allocations: 135.2 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.4292, allocations: 15.81 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.4292, allocations: 20.69 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4292, allocations: 4 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4292, allocations: 4 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4292, allocations: 0 / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.4295, allocations: 233.5 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4295, allocations: 7.938 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4296, allocations: 19.98 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4296, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4296, allocations: 4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.4297, allocations: 7.938 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4297, allocations: 0 / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/0.4301, allocations: 231.2 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.4301, allocations: 96.94 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4302, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4303, allocations: 7.984 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.4304, allocations: 19.98 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.4304, allocations: 0 / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.56e-05/0.4305, allocations: 118.4 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.893e-06/0.4305, allocations: 0 / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002465/0.4308, allocations: 27.84 kB / 1.075 GB, free: 3.129 MB / 0.8262 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.0001977/0.431, allocations: 111.7 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.4314, allocations: 115.9 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4314, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.4316, allocations: 72.02 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.432, allocations: 20.36 kB / 1.075 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.4327, allocations: 260.9 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4331, allocations: 0.7123 MB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.715e-05/0.4332, allocations: 17.08 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.4333, allocations: 23.44 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4333, allocations: 0 / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of Templates: time 0.004452/0.4378, allocations: 1.254 MB / 1.077 GB, free: 0.5508 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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