Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001757/0.001757, allocations: 110.1 kB / 16.4 MB, free: 6.445 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.001982/0.001983, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.41/1.41, allocations: 222.9 MB / 245.1 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 489 MB / 0.7678 GB, free: 4.004 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 63.89 kB / 1.101 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.99/0.9923, allocations: 163.8 MB / 1.261 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002502/0.9948, allocations: 1.481 MB / 1.262 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.9956, allocations: 440.7 kB / 1.263 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.9956, allocations: 5.125 kB / 1.263 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.9957, allocations: 5.203 kB / 1.263 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.9958, allocations: 10 kB / 1.263 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.9959, allocations: 21.48 kB / 1.263 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.782e-05/0.996, allocations: 52.52 kB / 1.263 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.9961, allocations: 15.03 kB / 1.263 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.9962, allocations: 18.41 kB / 1.263 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.9963, allocations: 23.78 kB / 1.263 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.9963, allocations: 8.312 kB / 1.263 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.9963, allocations: 3.938 kB / 1.263 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.9964, allocations: 20.55 kB / 1.263 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.9964, allocations: 21.39 kB / 1.263 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.9965, allocations: 50 kB / 1.263 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9966, allocations: 1.344 kB / 1.263 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9966, allocations: 0 / 1.263 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9966, allocations: 0 / 1.263 GB, free: 6.406 MB / 0.9981 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.0004571/0.997, allocations: 361.4 kB / 1.263 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.9971, allocations: 13.56 kB / 1.263 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.9971, allocations: 33.47 kB / 1.264 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.9972, allocations: 8.984 kB / 1.264 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.9973, allocations: 172.5 kB / 1.264 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.9973, allocations: 2.922 kB / 1.264 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.9973, allocations: 4.469 kB / 1.264 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.9974, allocations: 66.58 kB / 1.264 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9974, allocations: 0 / 1.264 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.9974, allocations: 1.391 kB / 1.264 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9974, allocations: 0.8438 kB / 1.264 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.691e-05/0.9975, allocations: 26.27 kB / 1.264 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.998, allocations: 303.5 kB / 1.264 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.9981, allocations: 53.48 kB / 1.264 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.9981, allocations: 22.72 kB / 1.264 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.9982, allocations: 5.328 kB / 1.264 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.9984, allocations: 77.69 kB / 1.264 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.9984, allocations: 0 / 1.264 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002587/0.9986, allocations: 97.84 kB / 1.264 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.9987, allocations: 57.73 kB / 1.264 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.9987, allocations: 111.3 kB / 1.264 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.9988, allocations: 27.98 kB / 1.265 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.9988, allocations: 94.28 kB / 1.265 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.9988, allocations: 25.75 kB / 1.265 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.9989, allocations: 28.36 kB / 1.265 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.9989, allocations: 318.2 kB / 1.265 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.975e-05/0.999, allocations: 20.08 kB / 1.265 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/0.999, allocations: 44.14 kB / 1.265 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.9991, allocations: 76.92 kB / 1.265 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9991, allocations: 0.625 kB / 1.265 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001394/0.9993, allocations: 101.8 kB / 1.265 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9993, allocations: 7.5 kB / 1.265 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9993, allocations: 0.9062 kB / 1.265 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9993, allocations: 2.109 kB / 1.265 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.9994, allocations: 9.812 kB / 1.265 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.9994, allocations: 2.453 kB / 1.265 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.9995, allocations: 14.2 kB / 1.265 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.9995, allocations: 11.47 kB / 1.265 GB, free: 4.426 MB / 0.9981 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.255e-05/0.9996, allocations: 121.3 kB / 1.265 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.9996, allocations: 3.156 kB / 1.265 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.9996, allocations: 10.05 kB / 1.265 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.9996, allocations: 0.8438 kB / 1.265 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9996, allocations: 1.344 kB / 1.265 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.9997, allocations: 0.6094 kB / 1.265 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/1, allocations: 360.4 kB / 1.266 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1, allocations: 0 / 1.266 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/1, allocations: 4.703 kB / 1.266 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1, allocations: 0.75 kB / 1.266 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/1, allocations: 1.141 kB / 1.266 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1, allocations: 5.234 kB / 1.266 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1, allocations: 0.75 kB / 1.266 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1, allocations: 190.8 kB / 1.266 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/1, allocations: 83.39 kB / 1.266 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1, allocations: 1.547 kB / 1.266 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/1, allocations: 13.66 kB / 1.266 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/1, allocations: 7.078 kB / 1.266 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/1, allocations: 2.422 kB / 1.266 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.817e-05/1, allocations: 85.14 kB / 1.266 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.001, allocations: 4.625 kB / 1.266 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002339/1.001, allocations: 14.94 kB / 1.266 GB, free: 3.605 MB / 0.9981 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.000315/1.001, allocations: 0.7216 MB / 1.267 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001503/1.001, allocations: 58.45 kB / 1.267 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.001, allocations: 0 / 1.267 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.428e-05/1.001, allocations: 27.97 kB / 1.267 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/1.002, allocations: 17.25 kB / 1.267 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/1.003, allocations: 1.357 MB / 1.268 GB, free: 17.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/1.003, allocations: 0.6882 MB / 1.269 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.637e-05/1.003, allocations: 14.08 kB / 1.269 GB, free: 16.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/1.003, allocations: 20.14 kB / 1.269 GB, free: 16.88 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/1.003, allocations: 4 kB / 1.269 GB, free: 16.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/1.025, allocations: 1.774 MB / 1.271 GB, free: 16.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/9.31, allocations: 9.656 kB / 1.271 GB, free: 16.48 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.469409424811602]