Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.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.Examples.OffTimer,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer",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.001621/0.001621, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002174/0.002174, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.49/1.49, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.475/2.475, allocations: 390.3 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 63.88 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.785, allocations: 140.4 MB / 0.9492 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.004515/0.7895, allocations: 1.523 MB / 0.9507 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.7907, allocations: 450 kB / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.7908, allocations: 0 / 0.9511 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.719e-05/0.7909, allocations: 5.312 kB / 0.9511 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.791, allocations: 3.984 kB / 0.9511 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.7913, allocations: 24.05 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.7914, allocations: 44.53 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.7916, allocations: 14.88 kB / 0.9512 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.7917, allocations: 22.78 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.7918, allocations: 25.41 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.7919, allocations: 8.062 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.859e-05/0.7919, allocations: 5.5 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.7919, allocations: 13.31 kB / 0.9513 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.792, allocations: 18.8 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.7921, allocations: 45.12 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7921, allocations: 0 / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7922, allocations: 0 / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.7922, allocations: 1.375 kB / 0.9514 GB, free: 7.383 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000571/0.7928, allocations: 372.1 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.7928, allocations: 10 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.7929, allocations: 36.39 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.7929, allocations: 4.062 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.7931, allocations: 166.9 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7931, allocations: 3.156 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.7931, allocations: 4.438 kB / 0.9519 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.7933, allocations: 67.27 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.7933, allocations: 3.984 kB / 0.952 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.7933, allocations: 9.656 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7933, allocations: 0 / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.348e-05/0.7934, allocations: 22.14 kB / 0.952 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.794, allocations: 309.1 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.7941, allocations: 62 kB / 0.9524 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.7942, allocations: 21.17 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.7942, allocations: 0 / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.7945, allocations: 76.47 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 3.026e-06/0.7945, allocations: 0 / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003468/0.7949, allocations: 101.5 kB / 0.9526 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.7949, allocations: 54.19 kB / 0.9526 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.795, allocations: 111.5 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.7951, allocations: 27.14 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.7951, allocations: 90.45 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.7952, allocations: 18.89 kB / 0.9529 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.7952, allocations: 31.08 kB / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.7953, allocations: 316.5 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.7954, allocations: 17.27 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.7955, allocations: 48.33 kB / 0.9533 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.7956, allocations: 66.19 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7956, allocations: 1.375 kB / 0.9533 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002352/0.7959, allocations: 101.5 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7959, allocations: 6.781 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.7959, allocations: 384 / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.796, allocations: 1.469 kB / 0.9534 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.7961, allocations: 16.05 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.7961, allocations: 1.438 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.7962, allocations: 13.53 kB / 0.9535 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.7963, allocations: 6.812 kB / 0.9535 GB, free: 5.301 MB / 0.7169 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.891e-05/0.7964, allocations: 127 kB / 0.9536 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.7964, allocations: 10.61 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.7964, allocations: 7.969 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.7965, allocations: 1.312 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7965, allocations: 5.125 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7965, allocations: 0 / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.797, allocations: 352.3 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.797, allocations: 0 / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.797, allocations: 6.734 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7971, allocations: 1.156 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.7971, allocations: 0.9688 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.7971, allocations: 9.094 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7971, allocations: 4 kB / 0.954 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.7973, allocations: 184.3 kB / 0.9541 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.7974, allocations: 78.61 kB / 0.9542 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.7974, allocations: 1.406 kB / 0.9542 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.7976, allocations: 14.7 kB / 0.9542 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.7976, allocations: 4.375 kB / 0.9542 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.7977, allocations: 1.406 kB / 0.9542 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.7977, allocations: 91.17 kB / 0.9543 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7977, allocations: 5.344 kB / 0.9543 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004525/0.7982, allocations: 14.12 kB / 0.9543 GB, free: 4.426 MB / 0.7169 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.0004695/0.7987, allocations: 0.7157 MB / 0.955 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.7989, allocations: 53.27 kB / 0.9551 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7989, allocations: 4.062 kB / 0.9551 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.799, allocations: 29.55 kB / 0.9551 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.7995, allocations: 22.77 kB / 0.9551 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.8013, allocations: 1.388 MB / 0.9565 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.8014, allocations: 0.6919 MB / 0.9572 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.8015, allocations: 3.812 kB / 0.9572 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.414e-05/0.8016, allocations: 20.27 kB / 0.9572 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of SimCode: time 8.22e-07/0.8016, allocations: 3.938 kB / 0.9572 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.8212, allocations: 1.586 MB / 0.9587 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.8214, allocations: 197.8 kB / 0.9589 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.122/2.943, allocations: 0 / 0.9589 GB, free: 0.5625 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches