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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004582/0.004583, allocations: 102 kB / 15.73 MB, free: 6.062 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.001284/0.001285, allocations: 192 kB / 16.67 MB, free: 5.973 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 482.6 MB / 0.7551 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 74.81 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 162.3 MB / 1.242 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001685/0.2946, allocations: 0.6582 MB / 1.243 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.2955, allocations: 0.8081 MB / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.2955, allocations: 0 / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.2955, allocations: 0 / 1.243 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.2956, allocations: 3.938 kB / 1.243 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.2957, allocations: 11.98 kB / 1.243 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.2958, allocations: 31.91 kB / 1.243 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.2959, allocations: 7.984 kB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.296, allocations: 11.98 kB / 1.243 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.296, allocations: 7.938 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.296, allocations: 4 kB / 1.243 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.296, allocations: 4 kB / 1.243 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.296, allocations: 3.984 kB / 1.243 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.2961, allocations: 7.938 kB / 1.243 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.29e-05/0.2962, allocations: 27.83 kB / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2962, allocations: 0 / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2962, allocations: 4 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2962, allocations: 4 kB / 1.243 GB, free: 7.297 MB / 0.9669 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.0004351/0.2966, allocations: 339.7 kB / 1.244 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2967, allocations: 8.031 kB / 1.244 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.2967, allocations: 30.75 kB / 1.244 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.2967, allocations: 4.938 kB / 1.244 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2969, allocations: 172.3 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2969, allocations: 384 / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.2969, allocations: 8.375 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.2971, allocations: 46.23 kB / 1.244 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2971, allocations: 3.938 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.2971, allocations: 4 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2971, allocations: 4 kB / 1.244 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.2973, allocations: 27.97 kB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.2976, allocations: 253 kB / 1.244 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2977, allocations: 38.44 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.2978, allocations: 24.91 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2978, allocations: 0 / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2979, allocations: 30.56 kB / 1.244 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.2979, allocations: 0 / 1.244 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003384/0.2982, allocations: 85.64 kB / 1.245 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.2983, allocations: 55.34 kB / 1.245 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.2984, allocations: 105.8 kB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2984, allocations: 25.7 kB / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.2984, allocations: 80.14 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.2985, allocations: 3.953 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.2985, allocations: 25.78 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2986, allocations: 314.8 kB / 1.245 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.2987, allocations: 15.98 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.2988, allocations: 15.98 kB / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.2989, allocations: 40.88 kB / 1.245 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.299, allocations: 3.938 kB / 1.245 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.2992, allocations: 69.56 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2992, allocations: 6.031 kB / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2992, allocations: 0 / 1.245 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2992, allocations: 4 kB / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.2993, allocations: 7.984 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2993, allocations: 0 / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.2994, allocations: 16.02 kB / 1.245 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.2994, allocations: 0 / 1.245 GB, free: 5.23 MB / 0.9669 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.491e-05/0.2995, allocations: 117.7 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.2995, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.2995, allocations: 3.125 kB / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2995, allocations: 0 / 1.245 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.2995, allocations: 4 kB / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2995, allocations: 0 / 1.245 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2997, allocations: 161.6 kB / 1.246 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2997, allocations: 4 kB / 1.246 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.2998, allocations: 7.984 kB / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2998, allocations: 192 / 1.246 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2998, allocations: 8 kB / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2998, allocations: 0 / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2998, allocations: 0 / 1.246 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.3, allocations: 171.4 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.3001, allocations: 77.11 kB / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.3001, allocations: 0 / 1.246 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.3002, allocations: 7.984 kB / 1.246 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3002, allocations: 8 kB / 1.246 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3002, allocations: 4 kB / 1.246 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.948e-05/0.3003, allocations: 75.28 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3003, allocations: 0 / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000207/0.3005, allocations: 11.89 kB / 1.246 GB, free: 4.492 MB / 0.9669 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.0005679/0.3011, allocations: 0.7089 MB / 1.247 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.3013, allocations: 36 kB / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3013, allocations: 0 / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.3014, allocations: 19.98 kB / 1.247 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3016, allocations: 7.984 kB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.302, allocations: 131.1 kB / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3023, allocations: 0.6729 MB / 1.247 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.3023, allocations: 8.109 kB / 1.247 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.3024, allocations: 15.44 kB / 1.247 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of SimCode: time 1.973e-06/0.3024, allocations: 0 / 1.247 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6008/0.9032, allocations: 1.263 MB / 1.249 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.959/10.86, allocations: 5.969 kB / 1.249 GB, free: 1.617 MB / 0.9669 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=400 --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