Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.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.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.001157/0.001157, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 197.3 kB / 16.54 MB, free: 6.672 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.578/1.578, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 63.91 kB / 0.8125 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.889/0.8907, allocations: 140.4 MB / 0.9496 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001949/0.8927, allocations: 0.7077 MB / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008178/0.8935, allocations: 0.7967 MB / 0.9511 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.8935, allocations: 1.375 kB / 0.9511 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.8936, allocations: 3.938 kB / 0.9511 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.8937, allocations: 9.297 kB / 0.9511 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.085e-05/0.8937, allocations: 9.359 kB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.8938, allocations: 49.78 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.8939, allocations: 4.125 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.894, allocations: 26.73 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/0.8941, allocations: 16.05 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.8941, allocations: 4.125 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/0.8941, allocations: 4.125 kB / 0.9512 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.8941, allocations: 11.92 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.8942, allocations: 20.05 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.401e-05/0.8943, allocations: 38.73 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8943, allocations: 5.375 kB / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8943, allocations: 0 / 0.9513 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8943, allocations: 0 / 0.9513 GB, free: 7.941 MB / 0.7169 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.0004702/0.8948, allocations: 360.6 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.8948, allocations: 14.12 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.8949, allocations: 2.094 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.844e-05/0.895, allocations: 172.1 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.895, allocations: 8.312 kB / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.895, allocations: 7.031 kB / 0.9518 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.8952, allocations: 67.91 kB / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8953, allocations: 192 / 0.9519 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.8953, allocations: 7.875 kB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8953, allocations: 0 / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.8956, allocations: 68.23 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.8959, allocations: 262.4 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.8961, allocations: 57.45 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.8962, allocations: 49.94 kB / 0.9523 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.8962, allocations: 3.938 kB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.8963, allocations: 31.69 kB / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.8963, allocations: 0 / 0.9523 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005634/0.8968, allocations: 133.8 kB / 0.9525 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.8969, allocations: 52.5 kB / 0.9525 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.897, allocations: 111.7 kB / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.897, allocations: 25.7 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.897, allocations: 85.48 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.897, allocations: 9.406 kB / 0.9527 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.8971, allocations: 16.59 kB / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.8971, allocations: 320.3 kB / 0.9531 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.8973, allocations: 29.53 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.8974, allocations: 37.45 kB / 0.9531 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.8977, allocations: 62.67 kB / 0.9532 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8977, allocations: 7.938 kB / 0.9532 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003013/0.898, allocations: 101.7 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.898, allocations: 5.125 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.898, allocations: 1.219 kB / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8981, allocations: 48 / 0.9533 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.8982, allocations: 22.03 kB / 0.9533 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8982, allocations: 5.312 kB / 0.9533 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/0.8983, allocations: 10.23 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.8983, allocations: 1 kB / 0.9533 GB, free: 5.969 MB / 0.7169 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 5.723e-05/0.8984, allocations: 115.4 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.8984, allocations: 6.828 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.8984, allocations: 9.125 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8984, allocations: 3.938 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8985, allocations: 0 / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8985, allocations: 5.344 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.8986, allocations: 176.9 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8986, allocations: 0 / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.421e-05/0.8987, allocations: 18.78 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8987, allocations: 0 / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.8987, allocations: 1.25 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8987, allocations: 0 / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8987, allocations: 0 / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.8991, allocations: 201 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.8991, allocations: 78.48 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.8991, allocations: 7.922 kB / 0.9539 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.8992, allocations: 11.48 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.8993, allocations: 1.062 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.8993, allocations: 1.188 kB / 0.9539 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.8993, allocations: 93.36 kB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8993, allocations: 0 / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002133/0.8996, allocations: 7.156 kB / 0.954 GB, free: 5.238 MB / 0.7169 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 0.0001425/0.8997, allocations: 97.38 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.9001, allocations: 79.17 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9001, allocations: 0 / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.9002, allocations: 40.45 kB / 0.9542 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.9005, allocations: 12.22 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.9009, allocations: 128 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.901, allocations: 0.6868 MB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.901, allocations: 1.406 kB / 0.955 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.9011, allocations: 9.812 kB / 0.955 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.9011, allocations: 0 / 0.955 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of Templates: time 0.00264/0.9037, allocations: 0.6727 MB / 0.9557 GB, free: 3.906 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches