Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001392/0.001392, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 11.44 kB / 0.9023 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3858, allocations: 159.6 MB / 1.058 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001424/0.3873, allocations: 0.8068 MB / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3888, allocations: 0.9871 MB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.389, allocations: 7.938 kB / 1.06 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.3891, allocations: 23.78 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.3892, allocations: 19.8 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3895, allocations: 67.91 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3898, allocations: 223.4 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.39, allocations: 89.97 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3901, allocations: 55.7 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.95e-05/0.3902, allocations: 59.62 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.3902, allocations: 8 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.116e-05/0.3903, allocations: 4 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.3903, allocations: 27.86 kB / 1.06 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.3903, allocations: 53.58 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.3906, allocations: 259.5 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3906, allocations: 4 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3906, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.3906, allocations: 0 / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006679/0.3913, allocations: 475.1 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3913, allocations: 12.03 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.3914, allocations: 23.72 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.3919, allocations: 280.5 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3919, allocations: 20.39 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.3919, allocations: 20 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.3924, allocations: 233.7 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3924, allocations: 3.938 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.3924, allocations: 12 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3924, allocations: 4 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.3928, allocations: 169 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3939, allocations: 0.7127 MB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.3941, allocations: 98.47 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3942, allocations: 44.84 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3942, allocations: 11.98 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3943, allocations: 38.52 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.3943, allocations: 0 / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004697/0.3947, allocations: 173.6 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3948, allocations: 59.39 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.395, allocations: 211.2 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3951, allocations: 29.7 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3952, allocations: 151.9 kB / 1.063 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.3952, allocations: 39.45 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.3953, allocations: 0 / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3954, allocations: 326.8 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.3956, allocations: 51.97 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3957, allocations: 95.16 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.3959, allocations: 67.91 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3959, allocations: 0 / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003565/0.3962, allocations: 188.3 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3963, allocations: 4 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3963, allocations: 7.953 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3963, allocations: 0 / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3965, allocations: 39.97 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3965, allocations: 3.938 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.3966, allocations: 31.91 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3966, allocations: 4 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3967, allocations: 130.2 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.3968, allocations: 19.8 kB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.3971, allocations: 166.9 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.3972, allocations: 7.953 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3972, allocations: 3.938 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.3972, allocations: 3.984 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.3979, allocations: 0.5242 MB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3979, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.398, allocations: 27.98 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.398, allocations: 4 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.398, allocations: 3.938 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.398, allocations: 4 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3981, allocations: 4.094 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3984, allocations: 257.8 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.3984, allocations: 104.8 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3985, allocations: 3.984 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3986, allocations: 27.97 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3987, allocations: 7.938 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3987, allocations: 11.98 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001264/0.3988, allocations: 156.7 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3988, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002681/0.3991, allocations: 31.91 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001317/0.3992, allocations: 107.2 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3996, allocations: 132.1 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3996, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3997, allocations: 59.91 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.4001, allocations: 44.27 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.4008, allocations: 400.2 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4011, allocations: 0.7323 MB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.4012, allocations: 25.48 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.4012, allocations: 23.42 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.4012, allocations: 0 / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of Templates: time 0.004621/0.4059, allocations: 1.569 MB / 1.069 GB, free: 10.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches