Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_11_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.006318/0.006318, allocations: 99.59 kB / 15.73 MB, free: 6.484 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.001831/0.001831, allocations: 196.6 kB / 16.68 MB, free: 6.363 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.633/2.633, allocations: 469.8 MB / 0.7426 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2717, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002415/0.2741, allocations: 1.477 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000673/0.2748, allocations: 434.9 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.2748, allocations: 4 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.2749, allocations: 3.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.775e-05/0.275, allocations: 11.91 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.2751, allocations: 19.92 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.2752, allocations: 51.91 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.2753, allocations: 15.94 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.2754, allocations: 23.84 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.2754, allocations: 31.84 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2755, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.2755, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.2755, allocations: 8 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.2756, allocations: 23.86 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2757, allocations: 47.81 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2757, allocations: 0 / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2757, allocations: 0 / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.2757, allocations: 0 / 1.222 GB, free: 12.15 MB / 0.9825 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.0004887/0.2762, allocations: 363.3 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2762, allocations: 8.031 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.2763, allocations: 42.73 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.2763, allocations: 0.9375 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2764, allocations: 176.2 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2765, allocations: 4.375 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2765, allocations: 8.375 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.2766, allocations: 65.8 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2766, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2766, allocations: 3.984 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2766, allocations: 0 / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.2767, allocations: 27.98 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.2771, allocations: 300.7 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.2773, allocations: 58.5 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.2773, allocations: 20.95 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2773, allocations: 8.016 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.2775, allocations: 71.34 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 4.528e-06/0.2775, allocations: 4 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002162/0.2777, allocations: 105.5 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2778, allocations: 55.41 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.2778, allocations: 105.8 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2779, allocations: 33.7 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2779, allocations: 80.14 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.278, allocations: 23.84 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.278, allocations: 29.7 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2781, allocations: 330.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.2782, allocations: 12 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.2782, allocations: 51.3 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.877e-05/0.2783, allocations: 63.42 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2783, allocations: 3.938 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001358/0.2785, allocations: 97.58 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.2785, allocations: 4 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2785, allocations: 3.984 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2785, allocations: 4 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.2786, allocations: 8 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2786, allocations: 3.984 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.2787, allocations: 15.92 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2787, allocations: 11.88 kB / 1.224 GB, free: 9.734 MB / 0.9825 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.392e-05/0.2788, allocations: 114.1 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2788, allocations: 11.98 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.2788, allocations: 11.95 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2788, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2789, allocations: 3.938 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2789, allocations: 4.062 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.2793, allocations: 358.4 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2793, allocations: 0 / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.2793, allocations: 4 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2793, allocations: 480 / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2793, allocations: 4 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2793, allocations: 7.875 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2793, allocations: 0 / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2795, allocations: 187.4 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.2795, allocations: 77.11 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.2796, allocations: 4 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.2797, allocations: 15.86 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.2797, allocations: 11.98 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.2797, allocations: 4 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.2798, allocations: 83.28 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2798, allocations: 0 / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002222/0.28, allocations: 23.89 kB / 1.225 GB, free: 8.719 MB / 0.9825 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.0004573/0.2805, allocations: 0.713 MB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.2806, allocations: 55.91 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2806, allocations: 0 / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.2807, allocations: 27.94 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.2809, allocations: 18.11 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2821, allocations: 1.379 MB / 1.227 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2824, allocations: 0.6846 MB / 1.228 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.2824, allocations: 11.92 kB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.2824, allocations: 15.44 kB / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.2824, allocations: 0 / 1.228 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.458/1.74, allocations: 1.759 MB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/16.42, allocations: 10.39 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches