Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.00157, allocations: 107 kB / 16.36 MB, free: 6.336 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.001777/0.001777, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 71.55 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2267, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001854/0.2286, allocations: 0.7139 MB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.2293, allocations: 0.8061 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.2293, allocations: 4 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.2294, allocations: 3.938 kB / 0.9526 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.2294, allocations: 11.86 kB / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.97e-05/0.2295, allocations: 11.98 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.278e-05/0.2296, allocations: 47.84 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.2297, allocations: 8 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.857e-05/0.2297, allocations: 23.92 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.2298, allocations: 23.84 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2298, allocations: 11.94 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.2298, allocations: 4 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.2298, allocations: 4 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.2299, allocations: 23.86 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.529e-05/0.23, allocations: 47.84 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.23, allocations: 4 kB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.23, allocations: 0 / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.23, allocations: 0 / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004655/0.2305, allocations: 367.3 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2305, allocations: 12.03 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.2305, allocations: 4.844 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.2306, allocations: 176.2 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2306, allocations: 384 / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2307, allocations: 4.375 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.2309, allocations: 74.09 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2309, allocations: 192 / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2309, allocations: 7.938 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2309, allocations: 0 / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2312, allocations: 67.92 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.2315, allocations: 265 kB / 0.9538 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2317, allocations: 66.47 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.2319, allocations: 40.86 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.2319, allocations: 0 / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.2319, allocations: 30.56 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.2319, allocations: 0 / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004792/0.2324, allocations: 137.6 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.2324, allocations: 51.41 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.2325, allocations: 113.8 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.2325, allocations: 25.7 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.2326, allocations: 96.03 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.2326, allocations: 15.84 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.2327, allocations: 13.66 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.2327, allocations: 318.8 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2329, allocations: 31.95 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.233, allocations: 31.97 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2333, allocations: 72.72 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2333, allocations: 0 / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002807/0.2336, allocations: 101.8 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2336, allocations: 8 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2336, allocations: 0 / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2336, allocations: 0 / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2337, allocations: 23.95 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.2337, allocations: 0 / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.456e-05/0.2338, allocations: 15.97 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.2338, allocations: 4 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 6.905e-05/0.2339, allocations: 111.8 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.2339, allocations: 8 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.234, allocations: 7.906 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.234, allocations: 0 / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.234, allocations: 7.922 kB / 0.9551 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.234, allocations: 4 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.2341, allocations: 169.6 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2341, allocations: 0 / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.011e-05/0.2342, allocations: 11.98 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2343, allocations: 7.984 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2343, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2343, allocations: 4 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2343, allocations: 0 / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.2346, allocations: 199.3 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.2346, allocations: 81.11 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2347, allocations: 0 / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2348, allocations: 15.97 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.2348, allocations: 12 kB / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2348, allocations: 0 / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.2349, allocations: 95.58 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2349, allocations: 0 / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002172/0.2351, allocations: 8 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 9.153e-05/0.2352, allocations: 95.25 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.2355, allocations: 71.92 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2355, allocations: 0 / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.2356, allocations: 39.89 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.2359, allocations: 12.97 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.2362, allocations: 133.5 kB / 0.956 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2364, allocations: 0.6844 MB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.2364, allocations: 0 / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.2365, allocations: 7.438 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.2365, allocations: 0 / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of Templates: time 0.002525/0.239, allocations: 0.6957 MB / 0.9573 GB, free: 1.316 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches