Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001951/0.001951, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002284/0.002284, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 71.89 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6928/0.6942, allocations: 140.4 MB / 0.9492 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001816/0.6961, allocations: 0.7292 MB / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007549/0.6968, allocations: 0.8025 MB / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.6969, allocations: 1.281 kB / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.224e-05/0.6969, allocations: 0 / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.697, allocations: 0 / 0.9507 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.6971, allocations: 11.3 kB / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.6972, allocations: 20.22 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.6973, allocations: 11.2 kB / 0.9508 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.6973, allocations: 7.219 kB / 0.9508 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.627e-05/0.6974, allocations: 14.17 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.6974, allocations: 2.344 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.6974, allocations: 2.625 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.6974, allocations: 0 / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.6975, allocations: 14.55 kB / 0.9508 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.676e-05/0.6975, allocations: 23.2 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6975, allocations: 1.281 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6976, allocations: 0 / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6976, allocations: 4 kB / 0.9508 GB, free: 7.883 MB / 0.7169 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.0003668/0.6979, allocations: 339.8 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.698, allocations: 9.156 kB / 0.9512 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.698, allocations: 34.69 kB / 0.9512 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.698, allocations: 6.188 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.707e-05/0.6981, allocations: 170.6 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6982, allocations: 384 / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.6982, allocations: 1.469 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.6983, allocations: 53.77 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6984, allocations: 5.125 kB / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.6984, allocations: 0 / 0.9514 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.6984, allocations: 3.938 kB / 0.9514 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.6985, allocations: 34.83 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.6988, allocations: 245.3 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.6989, allocations: 43.34 kB / 0.9518 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.699, allocations: 21.95 kB / 0.9518 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.6991, allocations: 1.375 kB / 0.9518 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.6991, allocations: 34.56 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.6991, allocations: 0 / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003408/0.6994, allocations: 85.3 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.6995, allocations: 51.41 kB / 0.9519 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.6995, allocations: 98.7 kB / 0.952 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.6995, allocations: 27.14 kB / 0.9521 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.6996, allocations: 85.25 kB / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.6996, allocations: 11.84 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.6996, allocations: 17.34 kB / 0.9522 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.6997, allocations: 314.8 kB / 0.9525 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.6998, allocations: 17.17 kB / 0.9525 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.6998, allocations: 17.97 kB / 0.9525 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.7, allocations: 38.92 kB / 0.9525 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7, allocations: 9.281 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001695/0.7002, allocations: 68 kB / 0.9526 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7002, allocations: 5.125 kB / 0.9526 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.7002, allocations: 0 / 0.9526 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7002, allocations: 1.25 kB / 0.9526 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.771e-05/0.7003, allocations: 13.77 kB / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.7003, allocations: 0 / 0.9526 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.7004, allocations: 8.188 kB / 0.9526 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.7004, allocations: 0 / 0.9526 GB, free: 6.02 MB / 0.7169 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 5.097e-05/0.7004, allocations: 115.5 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.7005, allocations: 5.531 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.7005, allocations: 8.406 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.7005, allocations: 0 / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7005, allocations: 1.312 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7005, allocations: 0 / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.7006, allocations: 158 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7006, allocations: 0 / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.7007, allocations: 13.48 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7007, allocations: 1.375 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.7007, allocations: 0 / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7007, allocations: 1.375 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7007, allocations: 3.938 kB / 0.9529 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.7009, allocations: 166.8 kB / 0.9531 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.7009, allocations: 86.47 kB / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.701, allocations: 0 / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.701, allocations: 8.422 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.7011, allocations: 1.312 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.7011, allocations: 0 / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.376e-05/0.7011, allocations: 83.14 kB / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7011, allocations: 0 / 0.9533 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002192/0.7013, allocations: 7.781 kB / 0.9533 GB, free: 5.332 MB / 0.7169 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.000403/0.7018, allocations: 0.6996 MB / 0.954 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.702, allocations: 45.42 kB / 0.954 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.702, allocations: 0 / 0.954 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.7021, allocations: 15.45 kB / 0.954 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.7024, allocations: 7.422 kB / 0.954 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.7027, allocations: 141.1 kB / 0.9542 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.982e-05/0.7028, allocations: 0.6809 MB / 0.9548 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.7029, allocations: 5.125 kB / 0.9548 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.7029, allocations: 8.938 kB / 0.9548 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7029, allocations: 0 / 0.9548 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.7144, allocations: 1.117 MB / 0.9559 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/0.7146, allocations: 208.4 kB / 0.9561 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.443, allocations: 3.75 kB / 0.9561 GB, free: 2.918 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches