Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.002029/0.002029, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002286/0.002286, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.359/3.359, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0.7656 kB / 0.8777 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.787e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002549/0.002587, allocations: 1.01 MB / 0.8787 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.004316, allocations: 1.031 MB / 0.8797 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.004468, allocations: 4 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.004634, allocations: 20.58 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.004726, allocations: 28.28 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.005082, allocations: 73.14 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.005362, allocations: 184.1 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.005538, allocations: 48.52 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.005726, allocations: 103.8 kB / 0.8801 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.005842, allocations: 60.58 kB / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.005882, allocations: 16.66 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.005947, allocations: 19.98 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.006004, allocations: 47.53 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.006078, allocations: 47.89 kB / 0.8803 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.006429, allocations: 207.1 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.006432, allocations: 0 / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006433, allocations: 0 / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.006439, allocations: 0 / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009768/0.007416, allocations: 420.5 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.007454, allocations: 12.03 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.007621, allocations: 36.78 kB / 0.8809 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.007962, allocations: 166 kB / 0.8811 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.00799, allocations: 16.36 kB / 0.8811 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.008033, allocations: 17.34 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.008444, allocations: 177.2 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.008455, allocations: 1.312 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.008479, allocations: 12.12 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.008489, allocations: 4 kB / 0.8813 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.008805, allocations: 105 kB / 0.8814 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.01001, allocations: 438.8 kB / 0.8818 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.01047, allocations: 136.3 kB / 0.882 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.01067, allocations: 79.52 kB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.0107, allocations: 4 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.01099, allocations: 152.1 kB / 0.8822 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.011, allocations: 0 / 0.8822 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0006465/0.01164, allocations: 236.3 kB / 0.8824 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.01169, allocations: 55.41 kB / 0.8825 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01183, allocations: 139.8 kB / 0.8826 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.01186, allocations: 33.7 kB / 0.8826 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.01196, allocations: 126 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.01203, allocations: 67.42 kB / 0.8828 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.01211, allocations: 37.7 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.0123, allocations: 326.8 kB / 0.8832 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.01253, allocations: 70.23 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.01277, allocations: 88.66 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.01317, allocations: 145 kB / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01318, allocations: 0 / 0.8834 GB, free: 332 kB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006609/0.01384, allocations: 227.9 kB / 0.8837 GB, free: 100 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01385, allocations: 4 kB / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01386, allocations: 0 / 0.8837 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.01388, allocations: 4 kB / 0.8837 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.01411, allocations: 35.98 kB / 0.8837 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.01412, allocations: 11.92 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.01427, allocations: 23.88 kB / 0.8837 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.01429, allocations: 8 kB / 0.8838 GB, free: 12 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001455/0.01444, allocations: 129.8 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.01448, allocations: 23.91 kB / 0.8839 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.01495, allocations: 192.7 kB / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.01495, allocations: 0 / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01495, allocations: 0 / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01496, allocations: 0 / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.0159, allocations: 0.5092 MB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.0159, allocations: 0 / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.01612, allocations: 39.97 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.01612, allocations: 4 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.01614, allocations: 0 / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01614, allocations: 7.938 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.01615, allocations: 3.938 kB / 0.8846 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.01684, allocations: 388.6 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.01687, allocations: 19.91 kB / 0.885 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.0169, allocations: 7.938 kB / 0.885 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.01709, allocations: 19.92 kB / 0.885 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.01717, allocations: 27.95 kB / 0.8851 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.01718, allocations: 4 kB / 0.8851 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.118e-05/0.01727, allocations: 105.5 kB / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01727, allocations: 4 kB / 0.8852 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003006/0.01758, allocations: 43.89 kB / 0.8852 GB, free: 14.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001637/0.01774, allocations: 111.2 kB / 0.8853 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.01822, allocations: 145.9 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.01822, allocations: 0 / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.01843, allocations: 92.02 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.01879, allocations: 27.92 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/0.01958, allocations: 365.9 kB / 0.8859 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.01972, allocations: 116.6 kB / 0.886 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.368e-05/0.0198, allocations: 17.48 kB / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.01987, allocations: 20.5 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01987, allocations: 0 / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of Templates: time 0.005727/0.0256, allocations: 1.758 MB / 0.8878 GB, free: 11.72 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.542619828949682]