Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 108 kB / 15.6 MB, free: 132 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.002037/0.002037, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.564/2.564, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.41 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2587, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001835/0.2606, allocations: 0.655 MB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008583/0.2615, allocations: 0.8118 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.2615, allocations: 0 / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.2615, allocations: 3.938 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.2616, allocations: 3.984 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.2617, allocations: 11.94 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.2618, allocations: 15.98 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.2619, allocations: 8 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.2619, allocations: 15.91 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.262, allocations: 12 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.262, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/0.262, allocations: 11.88 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.262, allocations: 11.92 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.2621, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.54e-05/0.2621, allocations: 23.91 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.2621, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2621, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.2621, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 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.0004144/0.2626, allocations: 339.8 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2626, allocations: 8.031 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.2626, allocations: 30.75 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.2627, allocations: 8.844 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.2628, allocations: 172.4 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2628, allocations: 384 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2628, allocations: 4.375 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.263, allocations: 46.23 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.263, allocations: 3.938 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.263, allocations: 8 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.263, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2632, allocations: 31.91 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2635, allocations: 249 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2636, allocations: 46.5 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.2637, allocations: 24.84 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2638, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.2638, allocations: 30.56 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2638, allocations: 3.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003347/0.2641, allocations: 89.64 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2642, allocations: 51.41 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.2643, allocations: 101.8 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2643, allocations: 25.7 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.2643, allocations: 84.14 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2644, allocations: 3.906 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.2644, allocations: 13.72 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2645, allocations: 318.8 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.2646, allocations: 16.02 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.2647, allocations: 19.98 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.2649, allocations: 40.75 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.2649, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/0.2651, allocations: 65.73 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2651, allocations: 4 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2651, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2651, allocations: 4 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.012e-05/0.2652, allocations: 7.984 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2652, allocations: 3.938 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.73e-05/0.2653, allocations: 7.984 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.2653, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 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.526e-05/0.2654, allocations: 121.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.2654, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.2654, allocations: 3.125 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2654, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.2654, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2654, allocations: 3.938 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.2656, allocations: 161.6 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2656, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.2657, allocations: 7.984 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2657, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2657, allocations: 8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2657, allocations: 3.938 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2657, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.266, allocations: 163.5 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.266, allocations: 85.2 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.266, allocations: 0 / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.2661, allocations: 12.02 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.2662, allocations: 3.984 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2662, allocations: 4 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.2662, allocations: 79.28 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2662, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002028/0.2664, allocations: 4 kB / 1.068 GB, free: 9.766 MB / 0.8262 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.0005791/0.267, allocations: 0.7102 MB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.2672, allocations: 31.97 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2672, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.2673, allocations: 28.02 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.2676, allocations: 7.984 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.2679, allocations: 131.3 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2682, allocations: 0.6729 MB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.2682, allocations: 3.984 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.2683, allocations: 15.44 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2683, allocations: 4.062 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4809/0.7491, allocations: 1.235 MB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.665/9.415, allocations: 5.234 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches