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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000859/0.000859, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008886/0.0008886, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8817/0.8817, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.618/1.618, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.9506 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.103e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001292/0.001313, allocations: 0.6631 MB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.002066, allocations: 0.8159 MB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.002096, allocations: 0 / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.002122, allocations: 0 / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.002189, allocations: 23.84 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.002331, allocations: 7.938 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.997e-05/0.002401, allocations: 23.92 kB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.002496, allocations: 4 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.002573, allocations: 15.98 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.00261, allocations: 7.984 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.002636, allocations: 0 / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-06/0.002644, allocations: 4 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.002661, allocations: 7.938 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002679, allocations: 3.984 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 7.961e-05/0.002759, allocations: 23.97 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002761, allocations: 4 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002762, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.002768, allocations: 0 / 0.9521 GB, free: 1.805 MB / 0.9011 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.0003672/0.003135, allocations: 258.3 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.003182, allocations: 12.03 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.003214, allocations: 38.67 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.003236, allocations: 8.875 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.003316, allocations: 105.8 kB / 0.9525 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003325, allocations: 4.312 kB / 0.9525 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.003332, allocations: 8.312 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.003454, allocations: 50.23 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.003461, allocations: 192 / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.003468, allocations: 384 / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.003475, allocations: 8.125 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.003564, allocations: 31.95 kB / 0.9526 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.003844, allocations: 212 kB / 0.9528 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.483e-05/0.003919, allocations: 38.56 kB / 0.9529 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.003967, allocations: 28.89 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.003986, allocations: 0 / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004006, allocations: 34.5 kB / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.004007, allocations: 0 / 0.9529 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002158/0.004223, allocations: 81.58 kB / 0.953 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.004256, allocations: 51.53 kB / 0.9531 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.004321, allocations: 105.9 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.004331, allocations: 25.7 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.004368, allocations: 96.02 kB / 0.9533 GB, free: 468 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.004382, allocations: 0 / 0.9533 GB, free: 468 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.004406, allocations: 13.72 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.004482, allocations: 314.8 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.004523, allocations: 15.98 kB / 0.9536 GB, free: 108 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.004557, allocations: 15.97 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.004633, allocations: 48.89 kB / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.004635, allocations: 0 / 0.9537 GB, free: 40 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001082/0.004743, allocations: 73.48 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.004757, allocations: 8 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.004761, allocations: 0 / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.004772, allocations: 0 / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.004832, allocations: 12.02 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.004837, allocations: 4 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.004857, allocations: 0 / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.004862, allocations: 4 kB / 0.9538 GB, free: 15.93 MB / 0.9167 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 4.989e-05/0.004912, allocations: 105.8 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.004927, allocations: 11.92 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.004947, allocations: 7.312 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004949, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.004954, allocations: 3.938 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004956, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.005061, allocations: 128.8 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.005061, allocations: 0 / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.005084, allocations: 8 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.005086, allocations: 7.875 kB / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.005093, allocations: 3.984 kB / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005093, allocations: 0 / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005095, allocations: 192 / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.005221, allocations: 163.5 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.005229, allocations: 15.91 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.128e-06/0.005239, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.005276, allocations: 8 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.005307, allocations: 3.984 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.00531, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.356e-05/0.005334, allocations: 75.28 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005334, allocations: 0 / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001393/0.005473, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 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.0002956/0.005769, allocations: 0.6967 MB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.005888, allocations: 35.95 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005889, allocations: 4 kB / 0.955 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.005928, allocations: 15.98 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.006136, allocations: 4 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.006466, allocations: 142.6 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.00651, allocations: 55.36 kB / 0.9552 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.006529, allocations: 4 kB / 0.9552 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.006565, allocations: 16.48 kB / 0.9552 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.006565, allocations: 0 / 0.9552 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/0.02147, allocations: 1.952 MB / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/6.657, allocations: 6.688 kB / 0.9572 GB, free: 12.45 MB / 0.9167 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.618951835669577]