Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001756/0.001756, allocations: 190.4 kB / 16.25 MB, free: 6.648 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.463/2.463, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.3 kB / 0.8988 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2263, allocations: 157.4 MB / 1.052 GB, free: 8.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper): time 0.002217/0.2286, allocations: 1.122 MB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.23, allocations: 1.252 MB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2301, allocations: 4 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2302, allocations: 15.86 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.2303, allocations: 19.8 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.2308, allocations: 170.9 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.2311, allocations: 263.4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.2312, allocations: 80.06 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2314, allocations: 95.73 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.2315, allocations: 99.53 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.2315, allocations: 24 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.2316, allocations: 39.97 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.2317, allocations: 43.86 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.404e-05/0.2317, allocations: 99.52 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.2321, allocations: 307.3 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2321, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2321, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2321, allocations: 4 kB / 1.056 GB, free: 4.898 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007783/0.2329, allocations: 0.5239 MB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2329, allocations: 8.031 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.233, allocations: 46.73 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.233, allocations: 24.66 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.2336, allocations: 304.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.2337, allocations: 12.38 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.2337, allocations: 20.38 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.234, allocations: 153.9 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.234, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2341, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2341, allocations: 4 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.2344, allocations: 135.8 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.2351, allocations: 0.5076 MB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2354, allocations: 114.6 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.2356, allocations: 53 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2356, allocations: 11.92 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.2359, allocations: 111.3 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.552e-06/0.2359, allocations: 0 / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006002/0.2365, allocations: 209.6 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2366, allocations: 55.34 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.2367, allocations: 179.5 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.2368, allocations: 33.7 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.2369, allocations: 132.1 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2369, allocations: 35.55 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.237, allocations: 49.69 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.2371, allocations: 326.8 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.2373, allocations: 79.84 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.2375, allocations: 121.2 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.2379, allocations: 195.5 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2379, allocations: 4 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005466/0.2385, allocations: 267 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.2385, allocations: 33.7 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2385, allocations: 0 / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2386, allocations: 8.188 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2387, allocations: 39.91 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2387, allocations: 4 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.239, allocations: 43.8 kB / 1.06 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.239, allocations: 15.98 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y,relDam.and2.y,relDam.greThr.greHys.y,$PRE.relDam.greThr.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.000109/0.2391, allocations: 143.7 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2392, allocations: 15.81 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.2396, allocations: 169.6 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2396, allocations: 4 kB / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.2396, allocations: 0 / 1.06 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2396, allocations: 7.984 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.2398, allocations: 253.3 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2398, allocations: 0 / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.24, allocations: 23.97 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.24, allocations: 7.938 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.24, allocations: 4 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.24, allocations: 0 / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.24, allocations: 0 / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.2404, allocations: 189 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2405, allocations: 92.94 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.2405, allocations: 8 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2406, allocations: 11.98 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.2407, allocations: 15.97 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2407, allocations: 4 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.752e-05/0.2408, allocations: 132.1 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2408, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002398/0.241, allocations: 39.84 kB / 1.061 GB, free: 15.59 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: 5 ($whenCondition1,$whenCondition2,relDam.greThr.greHys.y,relDam.and2.y,fanStatus.y) * Number of discrete states: 1 (relDam.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0006463/0.2417, allocations: 0.741 MB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.2422, allocations: 234.5 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2422, allocations: 384 / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.2424, allocations: 71.89 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.2426, allocations: 43.94 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.2451, allocations: 2.074 MB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2453, allocations: 0.7242 MB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.2455, allocations: 25.55 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.2455, allocations: 55.42 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2456, allocations: 3.938 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.864/2.11, allocations: 3.857 MB / 1.068 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000244/2.11, allocations: 263.5 kB / 1.069 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/3.913, allocations: 0 / 1.069 GB, free: 7.555 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReliefDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReliefDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches