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.005406/0.005406, allocations: 99.58 kB / 15.73 MB, free: 6.039 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.001522/0.001522, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.399/2.399, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 76.11 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6214, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.00156/0.623, allocations: 0.6575 MB / 1.221 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008178/0.6239, allocations: 0.8001 MB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.6239, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.6239, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.708e-05/0.624, allocations: 7.938 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001066/0.6241, allocations: 11.97 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.6242, allocations: 27.92 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.6242, allocations: 8 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.705e-05/0.6243, allocations: 7.938 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.369e-05/0.6243, allocations: 7.984 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.6244, allocations: 4 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.6244, allocations: 0 / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.6244, allocations: 7.938 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.6244, allocations: 7.984 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.694e-05/0.6245, allocations: 23.89 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6245, allocations: 0 / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6245, allocations: 4 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.6245, allocations: 0 / 1.222 GB, free: 444 kB / 0.9356 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.0003977/0.6249, allocations: 339.2 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.625, allocations: 8.031 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.625, allocations: 38.69 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.801e-05/0.625, allocations: 1.5 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6252, allocations: 172.3 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.6252, allocations: 4.312 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-06/0.6252, allocations: 384 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.6253, allocations: 57.56 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.6254, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.6254, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6254, allocations: 0 / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.6255, allocations: 39.89 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.6258, allocations: 248.8 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.626, allocations: 46.59 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.6261, allocations: 24.91 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.6261, allocations: 0 / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.6261, allocations: 30.56 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.6261, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003228/0.6265, allocations: 85.58 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6265, allocations: 55.41 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.6266, allocations: 97.84 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.6266, allocations: 25.7 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.6267, allocations: 88.14 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.6267, allocations: 3.953 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.6267, allocations: 13.84 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6268, allocations: 322.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.6269, allocations: 15.97 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.627, allocations: 19.98 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.6272, allocations: 36.89 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6272, allocations: 4 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.6274, allocations: 73.55 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.6274, allocations: 4 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.6274, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.6274, allocations: 192 / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.6275, allocations: 11.98 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.6275, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.6275, allocations: 12.02 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.6276, allocations: 3.984 kB / 1.224 GB, free: 14.36 MB / 0.9512 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.63e-05/0.6276, allocations: 116.8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.6277, allocations: 4 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.6277, allocations: 3.125 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.6277, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6277, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.6277, allocations: 0 / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.6279, allocations: 161.6 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6279, allocations: 8 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.6279, allocations: 4 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.628, allocations: 7.875 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.628, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.628, allocations: 0 / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.628, allocations: 7.984 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.6282, allocations: 163.4 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.6283, allocations: 89.05 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.6283, allocations: 0 / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.6284, allocations: 4 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.6284, allocations: 3.984 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.6284, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.6284, allocations: 83.28 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6284, allocations: 0 / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001989/0.6287, allocations: 4 kB / 1.224 GB, free: 13.62 MB / 0.9512 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.000546/0.6292, allocations: 0.7012 MB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.6294, allocations: 39.98 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.6294, allocations: 0 / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.6295, allocations: 15.98 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.6297, allocations: 10.03 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.6301, allocations: 135 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.6304, allocations: 0.6768 MB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.6304, allocations: 8.031 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.836e-05/0.6304, allocations: 7.438 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.6304, allocations: 0 / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.323/1.954, allocations: 1.284 MB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.24/18.19, allocations: 8.469 kB / 1.227 GB, free: 10.72 MB / 0.9512 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