Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001609/0.001609, allocations: 187.6 kB / 17.2 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.818/2.818, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.59 kB / 0.9089 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3524, allocations: 159.1 MB / 1.064 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.004314/0.3567, allocations: 2.301 MB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.3593, allocations: 1.443 MB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000551/0.3599, allocations: 15.94 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.3604, allocations: 82.94 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000453/0.3608, allocations: 103 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.3615, allocations: 291.6 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3625, allocations: 0.7893 MB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.3633, allocations: 406.2 kB / 1.07 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.3637, allocations: 298.7 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.3642, allocations: 334.3 kB / 1.07 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.3644, allocations: 80 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.3645, allocations: 88 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.3647, allocations: 167.4 kB / 1.071 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003541/0.3651, allocations: 362 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.3661, allocations: 1.075 MB / 1.072 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3661, allocations: 3.938 kB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3661, allocations: 0 / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.603e-05/0.3662, allocations: 4 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001977/0.3682, allocations: 0.9509 MB / 1.073 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3682, allocations: 12.62 kB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.3684, allocations: 80 kB / 1.073 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3694, allocations: 0.5571 MB / 1.073 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/0.3695, allocations: 49.69 kB / 1.074 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/0.3696, allocations: 64.36 kB / 1.074 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3707, allocations: 0.5459 MB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3707, allocations: 192 / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.3708, allocations: 31.94 kB / 1.074 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.3708, allocations: 19.94 kB / 1.074 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3719, allocations: 477 kB / 1.075 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.3749, allocations: 1.879 MB / 1.076 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.3755, allocations: 202.9 kB / 1.077 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.3758, allocations: 92.81 kB / 1.077 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/0.3758, allocations: 15.92 kB / 1.077 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.3759, allocations: 38.5 kB / 1.077 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.3759, allocations: 4 kB / 1.077 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.000898/0.3768, allocations: 321.9 kB / 1.077 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3768, allocations: 59.41 kB / 1.077 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/0.3775, allocations: 0.573 MB / 1.078 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.3776, allocations: 29.7 kB / 1.078 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.3779, allocations: 390.5 kB / 1.078 GB, free: 480 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.3779, allocations: 78.91 kB / 1.078 GB, free: 400 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.3781, allocations: 118.1 kB / 1.078 GB, free: 276 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.5099/0.888, allocations: 366.8 kB / 1.079 GB, free: 21.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.8886, allocations: 125.9 kB / 1.079 GB, free: 21.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.8891, allocations: 392.8 kB / 1.079 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.8898, allocations: 0.5346 MB / 1.08 GB, free: 20.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.8898, allocations: 4.531 kB / 1.08 GB, free: 20.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001193/0.891, allocations: 0.5633 MB / 1.08 GB, free: 20.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.8911, allocations: 8.828 kB / 1.08 GB, free: 20.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.8911, allocations: 13.47 kB / 1.08 GB, free: 20.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.8911, allocations: 12.89 kB / 1.08 GB, free: 20.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.8916, allocations: 113.5 kB / 1.08 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.657e-05/0.8916, allocations: 19.94 kB / 1.08 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.892, allocations: 82.47 kB / 1.08 GB, free: 20.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/0.8921, allocations: 31.17 kB / 1.081 GB, free: 20.83 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.damLim.noZerMin.greHys.y,damLim1.and1.y,damLim.and1.y,damLim.and2.u2,damLim1.and2.u2,damLim.and2.y,damLim.not1.u,damLim1.and2.y,damLim1.not1.u,operationMode.y,freProSta.y,fanStatus.y,damLim1.conInt1.y,damLim1.conInt.y,damLim.conInt1.y,damLim.conInt.y,damLim.intLesEqu.y,damLim.and1.u2,damLim1.intLesEqu.y,damLim1.and1.u2,damLim1.not1.y,damLim1.noZerMin.greHys.y,$PRE.damLim1.noZerMin.greHys.y,damLim.not1.y,damLim.noZerMin.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002872/0.8924, allocations: 215.1 kB / 1.081 GB, free: 20.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.8925, allocations: 53.31 kB / 1.081 GB, free: 20.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006979/0.8932, allocations: 287.2 kB / 1.081 GB, free: 20.65 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.8932, allocations: 6.062 kB / 1.081 GB, free: 20.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8932, allocations: 1.641 kB / 1.081 GB, free: 20.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.8932, allocations: 1.219 kB / 1.081 GB, free: 20.65 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.8945, allocations: 0.8856 MB / 1.082 GB, free: 20.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.8945, allocations: 4.016 kB / 1.082 GB, free: 20.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.8948, allocations: 53.56 kB / 1.082 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.8948, allocations: 6.688 kB / 1.082 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.8948, allocations: 5.016 kB / 1.082 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8948, allocations: 2.344 kB / 1.082 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8948, allocations: 2.938 kB / 1.082 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.8954, allocations: 413.6 kB / 1.082 GB, free: 19.96 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.8955, allocations: 141.4 kB / 1.083 GB, free: 19.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.8956, allocations: 4.469 kB / 1.083 GB, free: 19.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.8958, allocations: 21.94 kB / 1.083 GB, free: 19.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.8959, allocations: 27.28 kB / 1.083 GB, free: 19.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.8959, allocations: 12.16 kB / 1.083 GB, free: 19.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004158/0.8964, allocations: 375.5 kB / 1.083 GB, free: 19.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8964, allocations: 0 / 1.083 GB, free: 19.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005483/0.8969, allocations: 109.3 kB / 1.083 GB, free: 19.61 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (damLim1.noZerMin.greHys.y) * Number of discrete states: 1 (damLim1.noZerMin.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0001361/0.8971, allocations: 118.2 kB / 1.083 GB, free: 19.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007892/0.8979, allocations: 351.6 kB / 1.083 GB, free: 19.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8979, allocations: 1.75 kB / 1.083 GB, free: 19.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.8982, allocations: 105.1 kB / 1.084 GB, free: 19.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.8991, allocations: 192.6 kB / 1.084 GB, free: 19.33 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.9004, allocations: 0.8984 MB / 1.085 GB, free: 18.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.9008, allocations: 0.8691 MB / 1.085 GB, free: 18.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.9009, allocations: 54.92 kB / 1.086 GB, free: 18.03 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.9009, allocations: 0 / 1.086 GB, free: 18.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.0155/0.9164, allocations: 6.64 MB / 1.092 GB, free: 17.28 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches