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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_latest_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.001327/0.001327, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001572/0.001572, allocations: 193 kB / 16.14 MB, free: 6.719 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 66.19 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2753, allocations: 157.4 MB / 1.052 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001992/0.2774, allocations: 0.7262 MB / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008391/0.2783, allocations: 0.8079 MB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.2783, allocations: 4 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.2783, allocations: 3.938 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.2784, allocations: 0 / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.2786, allocations: 3.984 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.2786, allocations: 23.88 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.2787, allocations: 11.97 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.2788, allocations: 12 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.757e-05/0.2788, allocations: 11.92 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.2788, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-06/0.2789, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.2789, allocations: 8 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.2789, allocations: 3.938 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.441e-05/0.279, allocations: 15.97 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.279, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.279, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.279, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 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.0004115/0.2794, allocations: 343.8 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2795, allocations: 11.97 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.2795, allocations: 42.67 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.335e-05/0.2795, allocations: 4.844 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.947e-05/0.2796, allocations: 168.3 kB / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.2797, allocations: 384 / 1.054 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.2797, allocations: 4.359 kB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.2798, allocations: 50.23 kB / 1.054 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2799, allocations: 7.938 kB / 1.054 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2799, allocations: 0 / 1.054 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2799, allocations: 4 kB / 1.054 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.2801, allocations: 31.95 kB / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.2803, allocations: 245 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.2805, allocations: 46.44 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.454e-05/0.2806, allocations: 28.89 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2806, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.2806, allocations: 30.56 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2806, allocations: 0 / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.281, allocations: 81.64 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.281, allocations: 55.34 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.2811, allocations: 97.86 kB / 1.055 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.2811, allocations: 29.64 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.2811, allocations: 88.14 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.2812, allocations: 7.891 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.2812, allocations: 13.72 kB / 1.055 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.2813, allocations: 315 kB / 1.055 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.2814, allocations: 15.98 kB / 1.055 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.2815, allocations: 11.98 kB / 1.055 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2816, allocations: 44.81 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2816, allocations: 3.938 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.2818, allocations: 77.56 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2819, allocations: 5.875 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2819, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2819, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.282, allocations: 8 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.282, allocations: 3.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.282, allocations: 4 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.282, allocations: 0 / 1.056 GB, free: 4.426 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 6.418e-05/0.2821, allocations: 121.8 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2821, allocations: 0 / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.2822, allocations: 11.11 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2822, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2822, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2822, allocations: 0 / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2823, allocations: 161.6 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2823, allocations: 0 / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.2824, allocations: 11.98 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2824, allocations: 4 kB / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.2824, allocations: 0 / 1.056 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2824, allocations: 4 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2824, allocations: 0 / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.2827, allocations: 167.4 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.2827, allocations: 77.11 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.2827, allocations: 4.031 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.2828, allocations: 7.984 kB / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.2828, allocations: 192 / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2828, allocations: 0 / 1.056 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.2829, allocations: 87.25 kB / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2829, allocations: 0 / 1.056 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002099/0.2831, allocations: 11.91 kB / 1.056 GB, free: 3.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.000495/0.2836, allocations: 0.7045 MB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.2838, allocations: 35.91 kB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2838, allocations: 0 / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.2839, allocations: 24.06 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2842, allocations: 8 kB / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.2846, allocations: 133.1 kB / 1.057 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.2848, allocations: 0.677 MB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.2848, allocations: 0 / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.2848, allocations: 11.5 kB / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of SimCode: time 1.703e-06/0.2848, allocations: 0 / 1.058 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.2949, allocations: 1.077 MB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.2952, allocations: 202.3 kB / 1.059 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/1.893, allocations: 3.938 kB / 1.059 GB, free: 0.7578 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > 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