Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 115.7 kB / 16.37 MB, free: 6.012 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.001422/0.001422, allocations: 189.3 kB / 17.31 MB, free: 5.613 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.577/1.577, allocations: 222.9 MB / 241 MB, free: 14.99 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.354/2.354, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 72.44 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3305, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002354/0.333, allocations: 0.6711 MB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.334, allocations: 0.8001 MB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.334, allocations: 4 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.3341, allocations: 4 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.3341, allocations: 3.938 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.3343, allocations: 11.98 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.584e-05/0.3344, allocations: 19.94 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3345, allocations: 7.984 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.3346, allocations: 11.94 kB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.3347, allocations: 11.98 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3347, allocations: 0 / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.3347, allocations: 4 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.3347, allocations: 11.92 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.3348, allocations: 8 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.3349, allocations: 23.89 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3349, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3349, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3349, allocations: 0 / 0.9527 GB, free: 6.438 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004708/0.3354, allocations: 335.5 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3354, allocations: 8.031 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.3354, allocations: 12.92 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3356, allocations: 172.2 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.3356, allocations: 4.312 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.3356, allocations: 4.375 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3358, allocations: 52.34 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3358, allocations: 192 / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3359, allocations: 3.938 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3359, allocations: 7.875 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.336, allocations: 35.95 kB / 0.9533 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.3364, allocations: 241 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3365, allocations: 46.44 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.3366, allocations: 24.89 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3367, allocations: 0 / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3367, allocations: 34.56 kB / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3367, allocations: 0 / 0.9536 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003418/0.337, allocations: 81.64 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3371, allocations: 55.34 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.3372, allocations: 97.86 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.3372, allocations: 33.83 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.3372, allocations: 80.14 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3373, allocations: 7.891 kB / 0.954 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.3373, allocations: 13.72 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3374, allocations: 314.8 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.65e-05/0.3375, allocations: 11.98 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.3376, allocations: 23.97 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3377, allocations: 36.89 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3378, allocations: 4 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.3379, allocations: 69.53 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.338, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.338, allocations: 4 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.338, allocations: 32 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.3381, allocations: 11.98 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3381, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3381, allocations: 4 kB / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3382, allocations: 0 / 0.9545 GB, free: 4.414 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 (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 prepare postOptimizeDAE: time 8.301e-05/0.3382, allocations: 119.8 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3383, allocations: 3.906 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.3383, allocations: 7.109 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3383, allocations: 4 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3383, allocations: 4 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3383, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.3385, allocations: 161.6 kB / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3385, allocations: 0 / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.3386, allocations: 11.92 kB / 0.9548 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3386, allocations: 4 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3386, allocations: 0 / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3386, allocations: 0 / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3386, allocations: 192 / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.3388, allocations: 175.4 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.3389, allocations: 85.03 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3389, allocations: 0 / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.339, allocations: 7.984 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.339, allocations: 4 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3391, allocations: 0 / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.3391, allocations: 91.3 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3391, allocations: 0 / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000208/0.3393, allocations: 0 / 0.9551 GB, free: 3.656 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 (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.0001778/0.3395, allocations: 99.25 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.3397, allocations: 35.95 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3398, allocations: 4 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.3398, allocations: 23.98 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3401, allocations: 9.812 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.3405, allocations: 105.5 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3408, allocations: 0.6805 MB / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.3408, allocations: 0 / 0.956 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.3408, allocations: 11.44 kB / 0.956 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3408, allocations: 64 / 0.956 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of Templates: time 0.002602/0.3434, allocations: 441 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches