Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 179.5 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007811/0.000781, allocations: 90.22 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.158e-05, allocations: 8 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7241/0.9299, allocations: 131.6 MB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.9302, allocations: 72.02 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001676/0.9319, allocations: 0.628 MB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9319, allocations: 4 kB / 1.014 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9319, allocations: 0 / 1.014 GB, free: 5.504 MB / 0.6355 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.0003377/0.9323, allocations: 334.1 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9323, allocations: 8.031 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.9324, allocations: 4.75 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.9325, allocations: 174.9 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9325, allocations: 0 / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.9325, allocations: 4 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.382e-05/0.9326, allocations: 11.44 kB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.581e-05/0.9327, allocations: 37.12 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.9327, allocations: 0 / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.9327, allocations: 0 / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.9327, allocations: 3.938 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.933, allocations: 232.8 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.9331, allocations: 34.2 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.9331, allocations: 12.42 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.9332, allocations: 0 / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.9332, allocations: 30.56 kB / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.385e-06/0.9332, allocations: 0 / 1.015 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.9333, allocations: 43.36 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.9334, allocations: 51.41 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.9335, allocations: 100.5 kB / 1.015 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.9335, allocations: 25.7 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.9335, allocations: 84.14 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.9335, allocations: 3.906 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.9336, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9337, allocations: 318.1 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.715e-05/0.9337, allocations: 7.938 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.9337, allocations: 3.562 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.898e-05/0.9337, allocations: 12.05 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9338, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.594e-05/0.9338, allocations: 41.39 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9339, allocations: 4 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9339, allocations: 0 / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.9339, allocations: 0 / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.934, allocations: 11.98 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.934, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.9341, allocations: 16.02 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9341, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.9341, allocations: 104.9 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.9342, allocations: 4 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.9342, allocations: 11.2 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.9342, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.9342, allocations: 3.938 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.9342, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.9344, allocations: 133.5 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.9344, allocations: 11.89 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.9345, allocations: 11.98 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.9345, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.9345, allocations: 0 / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.9345, allocations: 0 / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9345, allocations: 0 / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.9346, allocations: 134.6 kB / 1.016 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.9347, allocations: 89.09 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.9347, allocations: 3.938 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.9348, allocations: 12.3 kB / 1.016 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.9348, allocations: 4 kB / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.9348, allocations: 0 / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.9349, allocations: 79.28 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9349, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002132/0.9351, allocations: 4 kB / 1.017 GB, free: 3.105 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001297/0.9352, allocations: 107.2 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.746e-05/0.9353, allocations: 15.25 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9353, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.9353, allocations: 7.062 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.9355, allocations: 0 / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.9357, allocations: 66.81 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.9359, allocations: 0.6811 MB / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.074e-05/0.936, allocations: 0 / 1.017 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.936, allocations: 7.438 kB / 1.017 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of SimCode: time 1.744e-06/0.936, allocations: 0 / 1.017 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of Templates: time 0.001947/0.9379, allocations: 351 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches