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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.371/2.371, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.89 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2173, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00234/0.2196, allocations: 1.482 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006311/0.2203, allocations: 454.7 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.2203, allocations: 4 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.2204, allocations: 3.938 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.2205, allocations: 7.922 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.2206, allocations: 27.91 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.935e-05/0.2207, allocations: 43.92 kB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.2208, allocations: 19.98 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.598e-05/0.2208, allocations: 19.92 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.2209, allocations: 23.91 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.2209, allocations: 4 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.2209, allocations: 4 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.2209, allocations: 19.86 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.221, allocations: 15.94 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.433e-05/0.2211, allocations: 44.09 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2211, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2211, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2211, allocations: 4 kB / 1.055 GB, free: 6.09 MB / 0.8106 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.0004207/0.2215, allocations: 363.4 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2216, allocations: 12.56 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.2216, allocations: 34.75 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2216, allocations: 4.938 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2217, allocations: 180.2 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2218, allocations: 384 / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2218, allocations: 8.375 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.588e-05/0.2219, allocations: 65.75 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2219, allocations: 3.984 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.2219, allocations: 0 / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2219, allocations: 0 / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.609e-05/0.222, allocations: 27.98 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.2224, allocations: 292.8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/0.2225, allocations: 62.55 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.2225, allocations: 24.94 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.2226, allocations: 0 / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.2227, allocations: 75.33 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2227, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0001954/0.2229, allocations: 101.6 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2229, allocations: 59.41 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.223, allocations: 105.8 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.223, allocations: 33.7 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.2231, allocations: 80.14 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.2231, allocations: 35.94 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.2232, allocations: 25.72 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.2232, allocations: 322.8 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.2233, allocations: 19.98 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.2233, allocations: 51.31 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.621e-05/0.2234, allocations: 67.36 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2234, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001237/0.2235, allocations: 93.55 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2236, allocations: 8 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2236, allocations: 4.031 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2236, allocations: 4 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.2237, allocations: 12.06 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2237, allocations: 0 / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.2237, allocations: 11.89 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2237, allocations: 15.92 kB / 1.057 GB, free: 3.672 MB / 0.8106 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.679e-05/0.2238, allocations: 117.8 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/0.2238, allocations: 4 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.2239, allocations: 15.95 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2239, allocations: 288 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2239, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2239, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.2242, allocations: 358.4 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2242, allocations: 3.984 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.2243, allocations: 4 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2243, allocations: 0 / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2243, allocations: 0 / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2243, allocations: 7.938 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2243, allocations: 0 / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.2244, allocations: 183.5 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.2245, allocations: 88.89 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2245, allocations: 7.984 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.2246, allocations: 7.938 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.2246, allocations: 8.172 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2246, allocations: 8 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.2247, allocations: 87.22 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2247, allocations: 0 / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002194/0.2249, allocations: 16 kB / 1.058 GB, free: 2.672 MB / 0.8106 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.0003345/0.2252, allocations: 0.7124 MB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.2254, allocations: 55.92 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2254, allocations: 0 / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.2254, allocations: 31.92 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.2257, allocations: 13.34 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/0.2266, allocations: 1.351 MB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.2268, allocations: 0.6845 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.2269, allocations: 4 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.2269, allocations: 19.42 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2269, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.463/2.69, allocations: 1.751 MB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/14.71, allocations: 7.328 kB / 1.063 GB, free: 14 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,not1.u,not1.y,offTim1.u,offTim1.y,offTim2.u,offTim2.y,time