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.0008104/0.0008102, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004495/0.004496, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.652/2.652, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 16.23 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3105, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.0008463/0.3114, allocations: 412.4 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3126, allocations: 0.7963 MB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.3126, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.3127, allocations: 3.938 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.3127, allocations: 7.984 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.3129, allocations: 8 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.313, allocations: 23.92 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.3131, allocations: 4 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.3131, allocations: 11.92 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.556e-05/0.3132, allocations: 8 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3132, allocations: 3.938 kB / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.3132, allocations: 0 / 1.06 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.3133, allocations: 7.922 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.3133, allocations: 33.7 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.614e-05/0.3134, allocations: 23.89 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3134, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3134, allocations: 0 / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3134, allocations: 0 / 1.06 GB, free: 3.527 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.0004422/0.3139, allocations: 339.8 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3139, allocations: 11.97 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.314, allocations: 30.75 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.314, allocations: 8.938 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3141, allocations: 172.2 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3142, allocations: 384 / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3142, allocations: 4.375 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3144, allocations: 54.23 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3144, allocations: 3.938 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.3144, allocations: 0 / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.3144, allocations: 3.984 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3146, allocations: 43.97 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.315, allocations: 245 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3151, allocations: 54.44 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.3152, allocations: 28.84 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3153, allocations: 0 / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3153, allocations: 42.55 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3153, allocations: 0 / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003853/0.3157, allocations: 93.59 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.3157, allocations: 55.53 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.3158, allocations: 101.8 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3158, allocations: 29.7 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3159, allocations: 80.14 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.3159, allocations: 3.906 kB / 1.061 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.3159, allocations: 9.719 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3161, allocations: 318.8 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.3161, allocations: 23.98 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.3162, allocations: 23.98 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3164, allocations: 52.88 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3164, allocations: 3.938 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.3166, allocations: 73.61 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3166, allocations: 8.031 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3167, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.3167, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.3168, allocations: 15.92 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3168, allocations: 4 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.3168, allocations: 11.89 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3169, allocations: 0 / 1.062 GB, free: 1.379 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 7.16e-05/0.3169, allocations: 121.8 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.317, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.317, allocations: 3.125 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.317, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.317, allocations: 4 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.317, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3172, allocations: 161.6 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.3172, allocations: 0 / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.3172, allocations: 11.98 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3172, allocations: 4 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.3173, allocations: 0 / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3173, allocations: 3.938 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3173, allocations: 0 / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.3175, allocations: 187.4 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.3176, allocations: 77.11 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.3176, allocations: 0 / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.3177, allocations: 11.98 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.3177, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.3177, allocations: 0 / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.3178, allocations: 83.28 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3178, allocations: 0 / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002093/0.318, allocations: 8.031 kB / 1.063 GB, free: 0.625 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.0006172/0.3186, allocations: 0.72 MB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3188, allocations: 43.97 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3189, allocations: 0 / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.319, allocations: 28.05 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.3192, allocations: 7.922 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.3197, allocations: 126.6 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3199, allocations: 0.677 MB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.3199, allocations: 12 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.32, allocations: 7.438 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.32, allocations: 0 / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00984/0.3298, allocations: 1.023 MB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.33, allocations: 201.6 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/1.977, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8262 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