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.001243/0.001243, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.01176/0.01176, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.564/1.564, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.612/2.612, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.924/0.9244, allocations: 142.4 MB / 0.9551 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0009457/0.9254, allocations: 447.6 kB / 0.9555 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.9264, allocations: 0.7965 MB / 0.9563 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.9264, allocations: 0.9688 kB / 0.9563 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.9265, allocations: 0 / 0.9563 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.945e-05/0.9265, allocations: 5.375 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.719e-05/0.9266, allocations: 13.08 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.413e-05/0.9267, allocations: 36.42 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.9268, allocations: 16.3 kB / 0.9563 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/0.9269, allocations: 13.78 kB / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.569e-05/0.927, allocations: 21.75 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.927, allocations: 1.5 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-06/0.927, allocations: 1.281 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.9271, allocations: 13.53 kB / 0.9564 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.9271, allocations: 44.42 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.942e-05/0.9272, allocations: 30.91 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9272, allocations: 1.375 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9272, allocations: 4 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.9272, allocations: 0 / 0.9565 GB, free: 6.52 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.0005324/0.9278, allocations: 368.6 kB / 0.9568 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/0.9278, allocations: 8.906 kB / 0.9568 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.9279, allocations: 11.25 kB / 0.9568 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.928, allocations: 167.2 kB / 0.957 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.9281, allocations: 384 / 0.957 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.9281, allocations: 2.75 kB / 0.957 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.9283, allocations: 80.72 kB / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.9284, allocations: 4.188 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.9284, allocations: 5.406 kB / 0.9571 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.9284, allocations: 7.922 kB / 0.9571 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.9287, allocations: 83.12 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.9291, allocations: 263.8 kB / 0.9574 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.9293, allocations: 73.88 kB / 0.9575 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.9295, allocations: 51.77 kB / 0.9575 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.9295, allocations: 4 kB / 0.9575 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.9295, allocations: 35.98 kB / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.9295, allocations: 0 / 0.9576 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005979/0.9302, allocations: 154.7 kB / 0.9577 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.9302, allocations: 56.5 kB / 0.9578 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.9303, allocations: 111.9 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.9303, allocations: 25.7 kB / 0.9579 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.9303, allocations: 90.39 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.9304, allocations: 17 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.9304, allocations: 10.91 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.9305, allocations: 316.1 kB / 0.9583 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.9306, allocations: 50.83 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.9308, allocations: 38.84 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.9311, allocations: 91.53 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9311, allocations: 7.938 kB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003465/0.9314, allocations: 120.2 kB / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9315, allocations: 7.25 kB / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9315, allocations: 0 / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.9315, allocations: 0 / 0.9586 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.9316, allocations: 20.39 kB / 0.9586 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9317, allocations: 7.922 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.673e-05/0.9317, allocations: 23.05 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.9318, allocations: 4.906 kB / 0.9587 GB, free: 4.527 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 8.318e-05/0.9319, allocations: 116.1 kB / 0.9588 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.9319, allocations: 5.5 kB / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.9319, allocations: 5.406 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9319, allocations: 1.312 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9319, allocations: 0 / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9319, allocations: 0 / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.9321, allocations: 178.9 kB / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9321, allocations: 0 / 0.959 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.9322, allocations: 22.86 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.9322, allocations: 0 / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.9322, allocations: 0 / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9322, allocations: 1.312 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9322, allocations: 0 / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.9326, allocations: 227.5 kB / 0.9592 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.9326, allocations: 82.17 kB / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.9327, allocations: 0.9688 kB / 0.9593 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.9328, allocations: 16.17 kB / 0.9593 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.9328, allocations: 5.297 kB / 0.9593 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.9328, allocations: 1.406 kB / 0.9593 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.9329, allocations: 85.56 kB / 0.9594 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9329, allocations: 4 kB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000217/0.9331, allocations: 6.375 kB / 0.9594 GB, free: 3.805 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.0001265/0.9332, allocations: 105.5 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.9336, allocations: 89.64 kB / 0.9596 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9336, allocations: 0 / 0.9596 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.9338, allocations: 50.66 kB / 0.9596 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.9341, allocations: 7.188 kB / 0.9596 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.9344, allocations: 137.7 kB / 0.9598 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.9345, allocations: 0.6843 MB / 0.9604 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.9346, allocations: 5.625 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.9346, allocations: 8.719 kB / 0.9605 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.9346, allocations: 0 / 0.9605 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of Templates: time 0.002747/0.9374, allocations: 0.5403 MB / 0.961 GB, free: 2.523 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