Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",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.0008379/0.0008378, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005386/0.005386, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 12 kB / 0.8162 GB, free: 13.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.6022, allocations: 142.4 MB / 0.9552 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.0009553/0.6032, allocations: 0.6427 MB / 0.9559 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007733/0.604, allocations: 0.8918 MB / 0.9567 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.604, allocations: 5.125 kB / 0.9567 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.6041, allocations: 9.109 kB / 0.9568 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.621e-05/0.6042, allocations: 9.062 kB / 0.9568 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.6043, allocations: 47.02 kB / 0.9568 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.6045, allocations: 132.6 kB / 0.9569 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.6046, allocations: 75.8 kB / 0.957 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.6047, allocations: 32.73 kB / 0.957 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.6047, allocations: 62.88 kB / 0.9571 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.6048, allocations: 4.844 kB / 0.9571 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.6048, allocations: 5.125 kB / 0.9571 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.6048, allocations: 15.64 kB / 0.9571 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.6049, allocations: 75.09 kB / 0.9572 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.605, allocations: 184 kB / 0.9574 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.605, allocations: 1.438 kB / 0.9574 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.605, allocations: 0 / 0.9574 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.605, allocations: 4 kB / 0.9574 GB, free: 6.07 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000451/0.6055, allocations: 430.5 kB / 0.9578 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6055, allocations: 9.812 kB / 0.9578 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.6056, allocations: 42.98 kB / 0.9578 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.6056, allocations: 19.53 kB / 0.9579 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.6058, allocations: 228.2 kB / 0.9581 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.6059, allocations: 10.48 kB / 0.9581 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.6059, allocations: 12.72 kB / 0.9581 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.6061, allocations: 137.8 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6062, allocations: 0 / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6062, allocations: 5.844 kB / 0.9582 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6062, allocations: 7.531 kB / 0.9582 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.6065, allocations: 115.3 kB / 0.9583 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.607, allocations: 489.3 kB / 0.9588 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.6072, allocations: 84.98 kB / 0.9589 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.6073, allocations: 48.25 kB / 0.9589 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6074, allocations: 1.375 kB / 0.9589 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.6074, allocations: 35.88 kB / 0.959 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.6074, allocations: 0 / 0.959 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004132/0.6078, allocations: 150.3 kB / 0.9591 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.6078, allocations: 53.78 kB / 0.9592 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.608, allocations: 195.5 kB / 0.9594 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.608, allocations: 26.83 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.6081, allocations: 118.8 kB / 0.9595 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.6081, allocations: 26.27 kB / 0.9595 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.6081, allocations: 20.95 kB / 0.9595 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.6082, allocations: 322.6 kB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.6083, allocations: 39.33 kB / 0.9599 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.6084, allocations: 73.61 kB / 0.96 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.6086, allocations: 88.14 kB / 0.96 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6086, allocations: 7.875 kB / 0.96 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000278/0.6089, allocations: 145.1 kB / 0.9602 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6089, allocations: 4.969 kB / 0.9602 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6089, allocations: 4.984 kB / 0.9602 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.609, allocations: 0.7812 kB / 0.9602 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.6091, allocations: 23.67 kB / 0.9602 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.6091, allocations: 4.953 kB / 0.9602 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.415e-05/0.6092, allocations: 17.45 kB / 0.9602 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.6092, allocations: 2.031 kB / 0.9602 GB, free: 3.574 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (exhDamPos.and2.y,exhDamPos.greThr.y,$PRE.exhDamPos.greThr.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): 10 * 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 7.021e-05/0.6093, allocations: 125.1 kB / 0.9604 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.6093, allocations: 9.562 kB / 0.9604 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.6096, allocations: 142.4 kB / 0.9605 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6096, allocations: 1.375 kB / 0.9605 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6096, allocations: 0 / 0.9605 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.6096, allocations: 0 / 0.9605 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.6101, allocations: 446.8 kB / 0.9609 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6101, allocations: 1.375 kB / 0.9609 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.6102, allocations: 17.73 kB / 0.961 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.6102, allocations: 1.375 kB / 0.961 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.6102, allocations: 1.375 kB / 0.961 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6102, allocations: 4.031 kB / 0.961 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6102, allocations: 1.375 kB / 0.961 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.6105, allocations: 233.9 kB / 0.9612 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.6105, allocations: 89.05 kB / 0.9613 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.6105, allocations: 1.656 kB / 0.9613 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6107, allocations: 16.77 kB / 0.9613 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.6107, allocations: 13 kB / 0.9613 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.6107, allocations: 10.91 kB / 0.9613 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.441e-05/0.6108, allocations: 135 kB / 0.9614 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6108, allocations: 4 kB / 0.9614 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002274/0.611, allocations: 21.62 kB / 0.9615 GB, free: 2.504 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004324/0.6115, allocations: 0.7681 MB / 0.9622 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000267/0.6118, allocations: 93.69 kB / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6118, allocations: 5.219 kB / 0.9623 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.6119, allocations: 48.97 kB / 0.9624 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.6123, allocations: 32.78 kB / 0.9624 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.614, allocations: 1.827 MB / 0.9642 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.6143, allocations: 0.7096 MB / 0.9649 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.143e-05/0.6143, allocations: 11.91 kB / 0.9649 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.6144, allocations: 46.56 kB / 0.9649 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.6144, allocations: 0 / 0.9649 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.29/2.904, allocations: 2.843 MB / 0.9677 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/2.904, allocations: 254.6 kB / 0.9679 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/5.278, allocations: 0 / 0.9679 GB, free: 13.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches