Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001455/0.001455, allocations: 103.5 kB / 16.35 MB, free: 6.289 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.001566/0.001566, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.594/1.594, 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 11.0.0-master/package.mo): time 2.5/2.5, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 64.83 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002179/0.3461, allocations: 0.6757 MB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3471, allocations: 0.8063 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.3472, allocations: 0 / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.3472, allocations: 3.938 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.211e-05/0.3473, allocations: 4 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.3475, allocations: 15.92 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.3476, allocations: 19.98 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3477, allocations: 4 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.3477, allocations: 15.92 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.3478, allocations: 3.984 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3478, allocations: 4 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.3478, allocations: 3.938 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.3479, allocations: 4 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.3479, allocations: 23.86 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.348, allocations: 15.97 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.348, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.833e-06/0.348, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.348, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 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.0004551/0.3485, allocations: 335.6 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3485, allocations: 8.031 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3486, allocations: 4.844 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.3487, allocations: 168.3 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3488, allocations: 4.375 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3488, allocations: 384 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.349, allocations: 58.16 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.349, allocations: 192 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.349, allocations: 3.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.349, allocations: 0 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3492, allocations: 39.89 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.3496, allocations: 249 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3497, allocations: 42.48 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.3498, allocations: 24.84 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3498, allocations: 4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3499, allocations: 34.56 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3499, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.3502, allocations: 85.58 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3503, allocations: 51.41 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.3503, allocations: 93.86 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.3504, allocations: 29.7 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.3504, allocations: 88.25 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3504, allocations: 7.906 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3505, allocations: 9.719 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3506, allocations: 318.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.3507, allocations: 11.98 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-05/0.3507, allocations: 19.97 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3509, allocations: 44.83 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3509, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.3511, allocations: 73.5 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3511, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3511, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3511, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.3512, allocations: 12.02 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3512, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.3513, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3513, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 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.159e-05/0.3514, allocations: 121.7 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.3514, allocations: 4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.3515, allocations: 3.125 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3515, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3515, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3515, allocations: 7.938 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.3517, allocations: 157.6 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3517, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.3517, allocations: 15.92 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3517, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3517, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3518, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3518, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.352, allocations: 167.5 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3521, allocations: 81.11 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3521, allocations: 3.984 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.3521, allocations: 4 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.3522, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3522, allocations: 7.922 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.516e-05/0.3523, allocations: 87.45 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3523, allocations: 4.031 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002168/0.3525, allocations: 7.906 kB / 1.031 GB, free: 13.68 MB / 0.8106 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.0001916/0.3527, allocations: 99.19 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3529, allocations: 39.95 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3529, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.353, allocations: 24.05 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3533, allocations: 3.938 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.3537, allocations: 105.5 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3539, allocations: 0.6768 MB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.354, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.354, allocations: 11.44 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of SimCode: time 2.014e-06/0.354, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.002647/0.3567, allocations: 443.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches