Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.002048/0.002048, allocations: 80.09 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002298/0.002298, allocations: 163.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.605/1.605, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 3.065/3.065, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relCon.u_m|enaSig.y|relCon.y|relCon.yDif|relCon.yOn",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.886e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002147/0.002176, allocations: 0.9692 MB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.004022, allocations: 1.291 MB / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.004127, allocations: 0 / 0.9836 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.004249, allocations: 19.75 kB / 0.9836 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.00434, allocations: 31.72 kB / 0.9837 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.004944, allocations: 175.1 kB / 0.9838 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.00526, allocations: 232 kB / 0.9841 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.005446, allocations: 61.02 kB / 0.9841 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.005716, allocations: 131.8 kB / 0.9842 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.005869, allocations: 67.77 kB / 0.9843 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.005917, allocations: 20 kB / 0.9843 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.006028, allocations: 47.92 kB / 0.9844 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.006079, allocations: 35.89 kB / 0.9844 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.006181, allocations: 63.83 kB / 0.9845 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.006608, allocations: 287.1 kB / 0.9847 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.006613, allocations: 0 / 0.9847 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.006615, allocations: 0 / 0.9847 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.006624, allocations: 0 / 0.9847 GB, free: 8.547 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000861/0.007485, allocations: 427.2 kB / 0.9851 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.007526, allocations: 8.031 kB / 0.9852 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.007773, allocations: 36.83 kB / 0.9852 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.008043, allocations: 168.1 kB / 0.9853 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.008063, allocations: 12.38 kB / 0.9854 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.0081, allocations: 16.38 kB / 0.9854 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.008385, allocations: 138.7 kB / 0.9855 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.008396, allocations: 192 / 0.9855 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.008421, allocations: 7.938 kB / 0.9855 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.008431, allocations: 7.984 kB / 0.9855 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.008634, allocations: 83.91 kB / 0.9856 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.009312, allocations: 408 kB / 0.986 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.009618, allocations: 102.5 kB / 0.9861 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.009724, allocations: 48.91 kB / 0.9861 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.009743, allocations: 0 / 0.9861 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.01001, allocations: 95.36 kB / 0.9862 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.483e-06/0.01001, allocations: 0 / 0.9862 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004108/0.01042, allocations: 161.6 kB / 0.9864 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.01046, allocations: 55.41 kB / 0.9864 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.01061, allocations: 146.6 kB / 0.9866 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.01065, allocations: 33.69 kB / 0.9866 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01076, allocations: 124.4 kB / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.0108, allocations: 35.69 kB / 0.9868 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.01089, allocations: 41.7 kB / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01103, allocations: 322.8 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.01121, allocations: 85.67 kB / 0.9872 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.01142, allocations: 146.8 kB / 0.9873 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.01167, allocations: 132.2 kB / 0.9875 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01167, allocations: 0 / 0.9875 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004506/0.01212, allocations: 249.3 kB / 0.9877 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.01217, allocations: 41.69 kB / 0.9877 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01217, allocations: 0 / 0.9877 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01219, allocations: 7.922 kB / 0.9877 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.01228, allocations: 15.94 kB / 0.9878 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.01229, allocations: 4.062 kB / 0.9878 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.01252, allocations: 43.84 kB / 0.9878 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.01255, allocations: 15.98 kB / 0.9878 GB, free: 5.148 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001225/0.01267, allocations: 122 kB / 0.9879 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.0127, allocations: 11.89 kB / 0.9879 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.01275, allocations: 16.78 kB / 0.988 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01275, allocations: 0 / 0.988 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01276, allocations: 4 kB / 0.988 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01276, allocations: 7.984 kB / 0.988 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.01293, allocations: 153.2 kB / 0.9881 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01293, allocations: 4 kB / 0.9881 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.01302, allocations: 19.86 kB / 0.9881 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.01302, allocations: 4 kB / 0.9881 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.01303, allocations: 4 kB / 0.9881 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01304, allocations: 0 / 0.9881 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01304, allocations: 0 / 0.9881 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.0133, allocations: 148.9 kB / 0.9883 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.01333, allocations: 23.78 kB / 0.9883 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.01335, allocations: 0 / 0.9883 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.01342, allocations: 11.98 kB / 0.9883 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.01347, allocations: 11.97 kB / 0.9883 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.01349, allocations: 12 kB / 0.9883 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001067/0.0136, allocations: 115.3 kB / 0.9885 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.0136, allocations: 0 / 0.9885 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002527/0.01385, allocations: 39.89 kB / 0.9885 GB, free: 4.398 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001539/0.014, allocations: 111.2 kB / 0.9886 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.01438, allocations: 204.9 kB / 0.9888 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01438, allocations: 0 / 0.9888 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01449, allocations: 39.98 kB / 0.9888 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.01476, allocations: 24.27 kB / 0.9889 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.01528, allocations: 274.4 kB / 0.9891 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.491e-05/0.01538, allocations: 102.7 kB / 0.9892 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.01543, allocations: 16.91 kB / 0.9892 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.01548, allocations: 16.5 kB / 0.9892 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/0.01548, allocations: 0 / 0.9892 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of Templates: time 0.006256/0.02174, allocations: 2.165 MB / 0.9914 GB, free: 1.445 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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: 8.695542201399803]