Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00133/0.00133, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001405/0.001405, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 69.77 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3242, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002455/0.3267, allocations: 1.012 MB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3281, allocations: 1.034 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3282, allocations: 7.938 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3283, allocations: 23.73 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.3284, allocations: 23.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.3287, allocations: 71.84 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.329, allocations: 176.1 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.3291, allocations: 60.39 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3292, allocations: 71.66 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3293, allocations: 75.59 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.3294, allocations: 16 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.3294, allocations: 24 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.3295, allocations: 35.91 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.3296, allocations: 67.64 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.3298, allocations: 187.1 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3298, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3298, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3298, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 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.000884/0.3307, allocations: 428.4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3308, allocations: 12.02 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.3309, allocations: 24.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3312, allocations: 170.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3312, allocations: 8.375 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.3313, allocations: 20.38 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3316, allocations: 175.3 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3316, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3317, allocations: 8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3317, allocations: 8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.332, allocations: 107.9 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.333, allocations: 436 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.3334, allocations: 130.7 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.3336, allocations: 80.77 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.3336, allocations: 4 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.3338, allocations: 152.9 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.3338, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005812/0.3344, allocations: 226.7 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3345, allocations: 55.34 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3346, allocations: 149 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.3346, allocations: 25.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.099e-05/0.3347, allocations: 128.4 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.3348, allocations: 63.44 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.3349, allocations: 37.7 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.335, allocations: 326.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3352, allocations: 71.89 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3354, allocations: 88.31 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.3358, allocations: 147.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3358, allocations: 4 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005032/0.3363, allocations: 205.4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3363, allocations: 12.03 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3363, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3363, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.3366, allocations: 47.91 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3366, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3367, allocations: 23.88 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3367, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 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.0001167/0.3368, allocations: 125.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3369, allocations: 23.91 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.3373, allocations: 192.4 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.3373, allocations: 4 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3373, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3373, allocations: 7.969 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.3382, allocations: 0.5028 MB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3382, allocations: 0 / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.3384, allocations: 43.91 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.3384, allocations: 4 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3384, allocations: 11.94 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3384, allocations: 0 / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3384, allocations: 4 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.3391, allocations: 381.1 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.3391, allocations: 27.78 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3391, allocations: 4 kB / 1.335 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.3393, allocations: 19.97 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.3393, allocations: 23.95 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3393, allocations: 4 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.45e-05/0.3394, allocations: 116.8 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3394, allocations: 0 / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002866/0.3397, allocations: 35.95 kB / 1.335 GB, free: 8.922 MB / 1.029 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.0001355/0.3399, allocations: 111.1 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.3403, allocations: 149.9 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3403, allocations: 3.938 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.3405, allocations: 92.27 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3408, allocations: 19.42 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.3416, allocations: 408.4 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.3417, allocations: 116.2 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.3418, allocations: 19.44 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3418, allocations: 0 / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of Templates: time 0.004046/0.3458, allocations: 1.974 MB / 1.338 GB, free: 5.969 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.022447618888691]