Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sqrt1.u|sqrt1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 108 kB / 15.61 MB, free: 152 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.001231/0.001231, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437 MB / 0.7103 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.826, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002802/0.8288, allocations: 0.6645 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.8302, allocations: 0.7962 MB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.8302, allocations: 4 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.8303, allocations: 3.984 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.8304, allocations: 7.938 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.8306, allocations: 4 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.8306, allocations: 27.92 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.8308, allocations: 4 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.8308, allocations: 11.92 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.8309, allocations: 11.94 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.8309, allocations: 0 / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.8309, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.831, allocations: 15.91 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.831, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.8311, allocations: 27.91 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8311, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8311, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.8311, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 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.0005902/0.8317, allocations: 333.4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8318, allocations: 8.031 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.8318, allocations: 4.938 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.832, allocations: 172.3 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.832, allocations: 8.312 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.832, allocations: 4.375 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.8322, allocations: 50.23 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.8322, allocations: 192 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8322, allocations: 3.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.8323, allocations: 3.984 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.8324, allocations: 27.97 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.8328, allocations: 245 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.833, allocations: 50.42 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.8331, allocations: 16.91 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.8331, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.8331, allocations: 42.5 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8331, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004268/0.8336, allocations: 73.64 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.8336, allocations: 55.34 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.8337, allocations: 105.8 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.8337, allocations: 25.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.8338, allocations: 84.27 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.8338, allocations: 11.84 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.8338, allocations: 13.72 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.834, allocations: 314.8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.8341, allocations: 15.98 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.8342, allocations: 15.98 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.8344, allocations: 44.89 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8344, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.8346, allocations: 73.53 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8347, allocations: 8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8347, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8347, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.8348, allocations: 11.92 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.8348, allocations: 4.031 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.8349, allocations: 7.984 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.8349, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 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 0.0001488/0.835, allocations: 115.3 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.8351, allocations: 3.906 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.8351, allocations: 7.125 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8351, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8351, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8351, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.8353, allocations: 165.6 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8353, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.051e-05/0.8354, allocations: 7.984 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8354, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.8354, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8354, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8354, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.8357, allocations: 171.4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.8358, allocations: 81.05 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.8358, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.8359, allocations: 7.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.8359, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.836, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.836, allocations: 79.28 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.836, allocations: 4.031 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002189/0.8362, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 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.0001825/0.8364, allocations: 107.2 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.8367, allocations: 31.97 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.8367, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.8368, allocations: 15.98 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.8371, allocations: 22.02 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.8374, allocations: 105.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.8378, allocations: 0.6768 MB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.8378, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.8378, allocations: 11.44 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8378, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.002637/0.8405, allocations: 443.7 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches