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.001614/0.001614, allocations: 115.2 kB / 16.37 MB, free: 6 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.001515/0.001515, allocations: 193.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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.18 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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.17 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.322, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001985/0.324, allocations: 0.6685 MB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.325, allocations: 0.804 MB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.3251, allocations: 4 kB / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.3251, allocations: 0 / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.3252, allocations: 3.938 kB / 0.9526 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.3253, allocations: 7.984 kB / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.3254, allocations: 27.92 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3255, allocations: 8 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.3256, allocations: 11.92 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.3257, allocations: 11.98 kB / 0.9527 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3257, allocations: 0 / 0.9527 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.3257, allocations: 4 kB / 0.9527 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.3258, allocations: 11.92 kB / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.3258, allocations: 4 kB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.3259, allocations: 19.91 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3259, allocations: 4 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3259, allocations: 0 / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3259, allocations: 0 / 0.9527 GB, free: 6.465 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.000436/0.3264, allocations: 339.4 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3264, allocations: 12.03 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.3264, allocations: 0.9375 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3266, allocations: 176.2 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3266, allocations: 384 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3266, allocations: 4.375 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3268, allocations: 52.34 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3268, allocations: 192 / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3268, allocations: 11.88 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3268, allocations: 0 / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.327, allocations: 31.97 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.3273, allocations: 244.9 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3275, allocations: 50.52 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.296e-05/0.3276, allocations: 16.91 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3276, allocations: 0 / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.3276, allocations: 34.56 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3276, allocations: 4 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.328, allocations: 81.67 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.328, allocations: 51.41 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.3281, allocations: 105.8 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3281, allocations: 29.64 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.3282, allocations: 80.14 kB / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.3282, allocations: 7.906 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.3282, allocations: 13.72 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3283, allocations: 314.8 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.3284, allocations: 20.02 kB / 0.9543 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.3285, allocations: 15.98 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3286, allocations: 32.83 kB / 0.9544 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3286, allocations: 4 kB / 0.9544 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.3288, allocations: 77.59 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3289, allocations: 8 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3289, allocations: 0 / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3289, allocations: 0 / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.329, allocations: 7.984 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.329, allocations: 0 / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.329, allocations: 11.98 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3291, allocations: 4 kB / 0.9545 GB, free: 4.434 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 7.119e-05/0.3291, allocations: 113.8 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3292, allocations: 3.906 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.3292, allocations: 7.125 kB / 0.9546 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.3292, allocations: 4 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3292, allocations: 0 / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3292, allocations: 0 / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3294, allocations: 165.6 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3294, allocations: 3.938 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.3294, allocations: 11.98 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3295, allocations: 0 / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3295, allocations: 4 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3295, allocations: 0 / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3295, allocations: 3.938 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3297, allocations: 163.5 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.3298, allocations: 77.11 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3298, allocations: 0 / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.3299, allocations: 12.02 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.3299, allocations: 4 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3299, allocations: 0 / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.942e-05/0.33, allocations: 79.28 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.33, allocations: 0 / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002113/0.3302, allocations: 8 kB / 0.9551 GB, free: 3.691 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.0001952/0.3304, allocations: 99.23 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.3306, allocations: 43.91 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3306, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.3307, allocations: 15.92 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.331, allocations: 15.92 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.3314, allocations: 101.5 kB / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3317, allocations: 0.6846 MB / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.3317, allocations: 0 / 0.956 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.3317, allocations: 11.44 kB / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.3317, allocations: 0 / 0.956 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of Templates: time 0.002508/0.3343, allocations: 445.2 kB / 0.9565 GB, free: 2.234 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 gbode -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