Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.00442/0.00442, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001035/0.001035, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 57.34 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2434, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002516/0.246, allocations: 1.459 MB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007573/0.2468, allocations: 452.3 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.2468, allocations: 0 / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.2469, allocations: 3.938 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.247, allocations: 3.938 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.2471, allocations: 27.91 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.2472, allocations: 59.77 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2474, allocations: 16.05 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.924e-05/0.2474, allocations: 15.94 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.2475, allocations: 23.86 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2475, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.2475, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.2476, allocations: 11.98 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.2476, allocations: 23.86 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.877e-05/0.2477, allocations: 42.69 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2477, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2477, allocations: 0 / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2477, allocations: 4 kB / 1.09 GB, free: 15.86 MB / 0.8575 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.0004812/0.2482, allocations: 360.3 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2483, allocations: 11.97 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.475e-05/0.2483, allocations: 42.69 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.2484, allocations: 8.828 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2485, allocations: 168.3 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2485, allocations: 8.375 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2485, allocations: 4.375 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.2486, allocations: 65.73 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2487, allocations: 3.938 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.2487, allocations: 0 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2487, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.261e-05/0.2488, allocations: 27.97 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.2492, allocations: 296.7 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.2493, allocations: 62.59 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.2494, allocations: 28.95 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.2494, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.2496, allocations: 75.36 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.2496, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002258/0.2498, allocations: 93.62 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.2499, allocations: 67.33 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.25, allocations: 105.8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.25, allocations: 33.69 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.25, allocations: 80.14 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.2501, allocations: 24.03 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.2501, allocations: 29.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.2502, allocations: 322.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.2503, allocations: 15.98 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.2503, allocations: 55.36 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.196e-05/0.2504, allocations: 59.38 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2504, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001372/0.2506, allocations: 89.61 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2506, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2506, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2506, allocations: 8.031 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.2507, allocations: 15.92 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2507, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.2508, allocations: 15.84 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.2508, allocations: 7.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 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 8.118e-05/0.2509, allocations: 119.2 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.2509, allocations: 4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.251, allocations: 8.25 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.251, allocations: 8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.251, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.251, allocations: 3.984 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.2514, allocations: 366.2 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2514, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-05/0.2514, allocations: 8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2514, allocations: 3.984 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2515, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2515, allocations: 8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2515, allocations: 8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.2516, allocations: 175.5 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.2517, allocations: 85 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2517, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.2518, allocations: 7.938 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2518, allocations: 12.17 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2518, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.2519, allocations: 91.2 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2519, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000235/0.2521, allocations: 16 kB / 1.093 GB, free: 12.44 MB / 0.8575 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.0004068/0.2526, allocations: 0.7085 MB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.2527, allocations: 59.86 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2527, allocations: 4.062 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.2528, allocations: 23.98 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2531, allocations: 13.66 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2542, allocations: 1.367 MB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.2545, allocations: 0.6885 MB / 1.095 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.99e-05/0.2545, allocations: 4 kB / 1.095 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.2546, allocations: 19.42 kB / 1.095 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of SimCode: time 6.92e-07/0.2546, allocations: 0 / 1.095 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.274, allocations: 1.767 MB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.295/9.569, allocations: 3.984 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches