Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001774/0.001774, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002302/0.002302, allocations: 161.2 kB / 22.45 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.596/1.596, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.837/2.837, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.827e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001831/0.001859, allocations: 0.787 MB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001213/0.00198, allocations: 43.78 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.002031, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.002082, allocations: 7.875 kB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.002163, allocations: 11.88 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.235e-05/0.002205, allocations: 11.98 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.002337, allocations: 79.75 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.002468, allocations: 27.98 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.219e-05/0.00255, allocations: 39.89 kB / 0.952 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.002603, allocations: 15.92 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.002633, allocations: 4 kB / 0.952 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.00265, allocations: 8 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.002672, allocations: 15.92 kB / 0.952 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.00271, allocations: 23.86 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.00284, allocations: 79.62 kB / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.002842, allocations: 0 / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002843, allocations: 4 kB / 0.9521 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.002851, allocations: 0 / 0.9521 GB, free: 10.42 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00045/0.003301, allocations: 302 kB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.003341, allocations: 12.02 kB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.003376, allocations: 8.891 kB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.003594, allocations: 137.6 kB / 0.9525 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.003604, allocations: 4.375 kB / 0.9525 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.003622, allocations: 8.375 kB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.003818, allocations: 93.81 kB / 0.9526 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.003828, allocations: 4.125 kB / 0.9526 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.003839, allocations: 8.375 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.003844, allocations: 384 / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.003924, allocations: 39.92 kB / 0.9527 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.004521, allocations: 364.5 kB / 0.953 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.004594, allocations: 37.22 kB / 0.9531 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.004631, allocations: 17.77 kB / 0.9531 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-06/0.004638, allocations: 0 / 0.9531 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.004674, allocations: 42.5 kB / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.004675, allocations: 0 / 0.9531 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.004846, allocations: 45.7 kB / 0.9532 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/0.004937, allocations: 81.05 kB / 0.9533 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.005084, allocations: 129.8 kB / 0.9534 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.005102, allocations: 29.64 kB / 0.9534 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.005188, allocations: 111.9 kB / 0.9535 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.988e-06/0.005198, allocations: 7.953 kB / 0.9535 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.005233, allocations: 17.72 kB / 0.9535 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.005385, allocations: 314.8 kB / 0.9538 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.005404, allocations: 8 kB / 0.9538 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.005425, allocations: 17.97 kB / 0.9539 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.005482, allocations: 33.7 kB / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.005484, allocations: 3.938 kB / 0.9539 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.59e-05/0.00557, allocations: 49.66 kB / 0.9539 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.005582, allocations: 4 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.005586, allocations: 0 / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.0056, allocations: 0 / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.005661, allocations: 11.98 kB / 0.954 GB, free: 8.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.005672, allocations: 7.938 kB / 0.954 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.005699, allocations: 11.94 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.005705, allocations: 4 kB / 0.954 GB, free: 8.281 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.373e-05/0.005788, allocations: 109.8 kB / 0.9541 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.005841, allocations: 7.953 kB / 0.9541 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.005862, allocations: 7.469 kB / 0.9541 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.005866, allocations: 4 kB / 0.9541 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.00587, allocations: 0 / 0.9541 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.005876, allocations: 7.922 kB / 0.9541 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.006297, allocations: 410.4 kB / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.006298, allocations: 4.062 kB / 0.9545 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.006325, allocations: 4 kB / 0.9545 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.006332, allocations: 3.984 kB / 0.9545 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.006344, allocations: 7.938 kB / 0.9545 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.006345, allocations: 0 / 0.9545 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006346, allocations: 0 / 0.9545 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.299e-05/0.006439, allocations: 73.89 kB / 0.9546 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.006465, allocations: 15.94 kB / 0.9546 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.006479, allocations: 3.938 kB / 0.9546 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.711e-05/0.006496, allocations: 0 / 0.9546 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.00651, allocations: 8.031 kB / 0.9546 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.006512, allocations: 0 / 0.9546 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.52e-05/0.006597, allocations: 105.7 kB / 0.9547 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006597, allocations: 0 / 0.9547 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001933/0.00679, allocations: 12 kB / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001108/0.006901, allocations: 95.25 kB / 0.9548 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.864e-05/0.00699, allocations: 19.92 kB / 0.9548 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006991, allocations: 0 / 0.9548 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.007002, allocations: 8.125 kB / 0.9549 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.007152, allocations: 8 kB / 0.9549 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.007488, allocations: 162.7 kB / 0.955 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.562e-05/0.007563, allocations: 81.59 kB / 0.9551 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.00759, allocations: 4 kB / 0.9551 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.007618, allocations: 12.62 kB / 0.9551 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of SimCode: time 2.91e-07/0.007619, allocations: 0 / 0.9551 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of Templates: time 0.002613/0.01023, allocations: 342.8 kB / 0.9554 GB, free: 6.664 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.218942135572433]