Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 106.1 kB / 15.99 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.001746/0.001746, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 70.05 kB / 0.8695 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3394, allocations: 151.6 MB / 1.018 GB, free: 10.91 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002717/0.3421, allocations: 0.9333 MB / 1.018 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3439, allocations: 1.155 MB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3441, allocations: 0 / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.074e-05/0.3442, allocations: 7.922 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3443, allocations: 15.86 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.345, allocations: 132.7 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.3453, allocations: 151.7 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3454, allocations: 61.47 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.3456, allocations: 67.77 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3457, allocations: 55.75 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.3457, allocations: 16 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.622e-05/0.3458, allocations: 24 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.3459, allocations: 23.91 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.346, allocations: 63.72 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3462, allocations: 123.9 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3462, allocations: 0 / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3462, allocations: 4 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3462, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007391/0.3469, allocations: 448.8 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.347, allocations: 12.88 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.3471, allocations: 16.75 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.3476, allocations: 236.2 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3476, allocations: 12.36 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.3477, allocations: 8.375 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3479, allocations: 93.97 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3479, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.348, allocations: 4 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.348, allocations: 0 / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.3482, allocations: 67.94 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.3488, allocations: 400.3 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.349, allocations: 74.48 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3491, allocations: 40.95 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.3492, allocations: 0 / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.3494, allocations: 79.38 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.3494, allocations: 0 / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004491/0.3499, allocations: 145.4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3499, allocations: 59.41 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3501, allocations: 127.5 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3501, allocations: 29.7 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.3502, allocations: 111.9 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3502, allocations: 15.72 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3503, allocations: 45.62 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3504, allocations: 318.8 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3506, allocations: 47.95 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.3508, allocations: 79.39 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.351, allocations: 125 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.351, allocations: 4 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004239/0.3515, allocations: 195.1 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.3515, allocations: 37.78 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3515, allocations: 7.938 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3516, allocations: 4 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3517, allocations: 15.98 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3517, allocations: 3.938 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.3519, allocations: 39.81 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.3519, allocations: 8 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001187/0.3521, allocations: 124.2 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3521, allocations: 4 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.3521, allocations: 16.31 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3521, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3522, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3522, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.3523, allocations: 205.5 kB / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3524, allocations: 0 / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.3524, allocations: 15.98 kB / 1.023 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3525, allocations: 0 / 1.023 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3525, allocations: 7.938 kB / 1.023 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3525, allocations: 0 / 1.023 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3525, allocations: 4 kB / 1.023 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3528, allocations: 132.9 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.3528, allocations: 85.02 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3528, allocations: 3.938 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.3529, allocations: 15.98 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.3529, allocations: 4 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.353, allocations: 3.984 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.353, allocations: 105.6 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.353, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002457/0.3533, allocations: 27.94 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0001689/0.3535, allocations: 111.2 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.3539, allocations: 175.3 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3539, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.354, allocations: 43.91 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3542, allocations: 22.36 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.3547, allocations: 245 kB / 1.024 GB, free: 3.473 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.355, allocations: 0.7002 MB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.3551, allocations: 19.44 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.3551, allocations: 0 / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of Templates: time 0.00355/0.3586, allocations: 1.445 MB / 1.026 GB, free: 1.297 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches