Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 108.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9185/0.9204, allocations: 168.7 MB / 1.269 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002745/0.9232, allocations: 1.487 MB / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007715/0.9239, allocations: 452.5 kB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.924, allocations: 3.938 kB / 1.271 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.924, allocations: 3.938 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.9241, allocations: 11.92 kB / 1.271 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.9242, allocations: 23.92 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.9243, allocations: 47.91 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.9244, allocations: 11.98 kB / 1.271 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.9245, allocations: 23.92 kB / 1.271 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.9246, allocations: 19.92 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.9246, allocations: 4 kB / 1.271 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.9246, allocations: 7.938 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.9246, allocations: 11.92 kB / 1.271 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.9247, allocations: 23.92 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.9248, allocations: 53.58 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.9248, allocations: 0 / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9248, allocations: 0 / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.9248, allocations: 0 / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005587/0.9254, allocations: 361.2 kB / 1.271 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.9254, allocations: 12.03 kB / 1.271 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.9254, allocations: 38.73 kB / 1.271 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.9255, allocations: 4.938 kB / 1.271 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.9256, allocations: 172.3 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.9256, allocations: 8.375 kB / 1.271 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.9257, allocations: 8.312 kB / 1.271 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.9258, allocations: 61.8 kB / 1.271 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9258, allocations: 0 / 1.271 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.9258, allocations: 0 / 1.271 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.9258, allocations: 0 / 1.271 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.9259, allocations: 27.98 kB / 1.271 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.9264, allocations: 300.7 kB / 1.272 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.9265, allocations: 54.55 kB / 1.272 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.9265, allocations: 16.95 kB / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.9265, allocations: 4 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.9267, allocations: 87.28 kB / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.9267, allocations: 0 / 1.272 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002422/0.927, allocations: 101.6 kB / 1.272 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.927, allocations: 55.39 kB / 1.272 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.9271, allocations: 105.8 kB / 1.272 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.9272, allocations: 33.69 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.9272, allocations: 88.08 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.9272, allocations: 23.8 kB / 1.272 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.9273, allocations: 29.7 kB / 1.272 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9274, allocations: 318.8 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.9275, allocations: 23.98 kB / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.105e-05/0.9275, allocations: 47.36 kB / 1.273 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.867e-05/0.9276, allocations: 63.38 kB / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9276, allocations: 0 / 1.273 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001485/0.9278, allocations: 97.5 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.9278, allocations: 12.03 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9278, allocations: 64 / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9278, allocations: 4 kB / 1.273 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.9279, allocations: 11.98 kB / 1.273 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.9279, allocations: 4 kB / 1.273 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.928, allocations: 7.938 kB / 1.273 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.928, allocations: 11.94 kB / 1.273 GB, free: 0.5586 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.968e-05/0.9281, allocations: 124.4 kB / 1.273 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.9281, allocations: 11.95 kB / 1.273 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.9281, allocations: 7.969 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9281, allocations: 0 / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.9281, allocations: 0 / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.9281, allocations: 288 / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.9286, allocations: 358.9 kB / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9286, allocations: 0 / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.9286, allocations: 96 / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.9286, allocations: 15.86 kB / 1.273 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.9286, allocations: 4 kB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9286, allocations: 3.938 kB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9286, allocations: 0 / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.9288, allocations: 179.4 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.9288, allocations: 89.03 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.9289, allocations: 0 / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.9289, allocations: 11.94 kB / 1.274 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.929, allocations: 7.984 kB / 1.274 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.929, allocations: 7.938 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.9291, allocations: 87.27 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9291, allocations: 0 / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002316/0.9293, allocations: 19.89 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004865/0.9298, allocations: 0.713 MB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.9299, allocations: 55.92 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9299, allocations: 0 / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.93, allocations: 23.92 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.9303, allocations: 16.25 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.9317, allocations: 1.357 MB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.932, allocations: 0.6924 MB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.932, allocations: 4 kB / 1.277 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.9321, allocations: 27.36 kB / 1.277 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9321, allocations: 0 / 1.277 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.9573, allocations: 1.786 MB / 1.278 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/9.291, allocations: 18.98 kB / 1.278 GB, free: 10.82 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.182346859015524]