Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008108/0.0008108, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008537/0.0008537, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8789/0.8789, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.685/1.685, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.037e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001899/0.00192, allocations: 1.486 MB / 0.9824 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0005776/0.002497, allocations: 462.8 kB / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.00253, allocations: 0 / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002556, allocations: 3.938 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.002629, allocations: 11.91 kB / 0.9828 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.002767, allocations: 27.86 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.002844, allocations: 51.84 kB / 0.9829 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.002944, allocations: 11.98 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.003008, allocations: 31.91 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.003061, allocations: 15.98 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.003084, allocations: 4 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.003092, allocations: 4 kB / 0.983 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.003113, allocations: 15.91 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.003146, allocations: 15.98 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.15e-05/0.003238, allocations: 43.81 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003241, allocations: 4 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.733e-06/0.003242, allocations: 0 / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003247, allocations: 3.984 kB / 0.9831 GB, free: 416 kB / 0.9323 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.0003884/0.003635, allocations: 290.2 kB / 0.9833 GB, free: 96 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.003671, allocations: 8.031 kB / 0.9834 GB, free: 88 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.003701, allocations: 38.73 kB / 0.9834 GB, free: 40 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.34e-05/0.003724, allocations: 4.938 kB / 0.9834 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.837e-05/0.003823, allocations: 113.8 kB / 0.9835 GB, free: 15.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.003833, allocations: 4.375 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.003843, allocations: 4.375 kB / 0.9835 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.302e-05/0.003936, allocations: 62.11 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.003944, allocations: 192 / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.003954, allocations: 8.125 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.003959, allocations: 8 kB / 0.9836 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/0.004007, allocations: 19.98 kB / 0.9836 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.004375, allocations: 263.8 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.004464, allocations: 54.59 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.004496, allocations: 20.91 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.004506, allocations: 0 / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.004662, allocations: 83.36 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.004664, allocations: 3.984 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0002047/0.004868, allocations: 105.6 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.004904, allocations: 55.41 kB / 0.9842 GB, free: 15.13 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.004962, allocations: 105.8 kB / 0.9843 GB, free: 15.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.004976, allocations: 33.7 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.00501, allocations: 80.14 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.00503, allocations: 23.84 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.005062, allocations: 25.72 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.005137, allocations: 330.7 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.00516, allocations: 12 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.005198, allocations: 47.42 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.005263, allocations: 71.36 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005266, allocations: 384 / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.281e-05/0.005358, allocations: 89.58 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.005373, allocations: 11.92 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.005379, allocations: 4 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.005392, allocations: 3.938 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/0.005451, allocations: 8 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.005456, allocations: 0 / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.005495, allocations: 15.98 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.0055, allocations: 64 / 0.985 GB, free: 14.22 MB / 0.948 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 6.246e-05/0.005562, allocations: 133.7 kB / 0.9851 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.005572, allocations: 7.953 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.005593, allocations: 12.12 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.005595, allocations: 0 / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.0056, allocations: 0 / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005603, allocations: 0 / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.005867, allocations: 325.5 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.005869, allocations: 0 / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.005884, allocations: 7.984 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.005886, allocations: 4 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.005893, allocations: 0 / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.005894, allocations: 0 / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.005895, allocations: 0 / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.005998, allocations: 191.6 kB / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.006004, allocations: 0 / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.006014, allocations: 4 kB / 0.9856 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.00606, allocations: 11.97 kB / 0.9857 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.006098, allocations: 11.92 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.006104, allocations: 7.938 kB / 0.9857 GB, free: 13.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.006131, allocations: 83.28 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006131, allocations: 4 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001543/0.006286, allocations: 15.95 kB / 0.9858 GB, free: 13.34 MB / 0.948 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.0002902/0.006576, allocations: 0.7227 MB / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.00669, allocations: 47.91 kB / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006692, allocations: 0 / 0.9865 GB, free: 12.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.006728, allocations: 20 kB / 0.9865 GB, free: 12.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.006933, allocations: 24.08 kB / 0.9866 GB, free: 12.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009082/0.007841, allocations: 1.363 MB / 0.9879 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.007885, allocations: 71.34 kB / 0.988 GB, free: 10.95 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.007912, allocations: 11.92 kB / 0.988 GB, free: 10.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.007952, allocations: 16.5 kB / 0.988 GB, free: 10.92 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.007953, allocations: 0 / 0.988 GB, free: 10.92 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.024, allocations: 2.486 MB / 0.9904 GB, free: 8.598 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.785, allocations: 4 kB / 0.9904 GB, free: 8.594 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.61771946772933]