Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008068/0.0008068, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008493/0.0008493, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9074/0.9074, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.746/1.746, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.09e-06, allocations: 4 kB / 0.981 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.789e-05, allocations: 2.281 kB / 0.981 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001528/0.001556, allocations: 0.6677 MB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.002446, allocations: 0.8237 MB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.002487, allocations: 0 / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.002523, allocations: 0 / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.002606, allocations: 11.88 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.002818, allocations: 15.92 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.00292, allocations: 19.94 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.003053, allocations: 7.984 kB / 0.9825 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.003139, allocations: 8 kB / 0.9825 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.003186, allocations: 11.98 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.003213, allocations: 0 / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.003229, allocations: 4 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.003252, allocations: 7.922 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.003277, allocations: 7.984 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.003383, allocations: 15.97 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.003387, allocations: 8 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.976e-06/0.00339, allocations: 0 / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.003395, allocations: 0 / 0.9826 GB, free: 0.8789 MB / 0.9323 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.0004394/0.003835, allocations: 257 kB / 0.9828 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.003886, allocations: 8.031 kB / 0.9829 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.00392, allocations: 34.75 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.003946, allocations: 4.891 kB / 0.9829 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/0.004036, allocations: 113.8 kB / 0.983 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.004051, allocations: 8.297 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.004061, allocations: 384 / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.004223, allocations: 50.25 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004231, allocations: 192 / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.004241, allocations: 384 / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.004249, allocations: 8.109 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.004342, allocations: 35.91 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.004708, allocations: 212.1 kB / 0.9833 GB, free: 52 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.004795, allocations: 42.48 kB / 0.9833 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/0.004854, allocations: 24.98 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.004873, allocations: 0 / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.004892, allocations: 38.44 kB / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004893, allocations: 0 / 0.9834 GB, free: 15.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002174/0.00511, allocations: 81.64 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.005148, allocations: 55.34 kB / 0.9835 GB, free: 15.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.005215, allocations: 106 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.005226, allocations: 25.7 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.005262, allocations: 92.03 kB / 0.9837 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.005279, allocations: 3.953 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.005307, allocations: 17.72 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.00543, allocations: 314.8 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.447e-05/0.005474, allocations: 11.98 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.005511, allocations: 19.98 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.04e-05/0.005591, allocations: 40.88 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.005594, allocations: 4 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.005698, allocations: 61.61 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.005714, allocations: 7.938 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005719, allocations: 4 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.005735, allocations: 0 / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.005811, allocations: 8.016 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.005816, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.005838, allocations: 7.984 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.005844, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 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 6.044e-05/0.005905, allocations: 113.8 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.005917, allocations: 3.938 kB / 0.9843 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.005946, allocations: 7.312 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005948, allocations: 0 / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.005952, allocations: 0 / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005954, allocations: 0 / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.006067, allocations: 128.8 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.006068, allocations: 0 / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.006099, allocations: 11.98 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.006103, allocations: 7.875 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.006111, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006112, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.006114, allocations: 0 / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.006264, allocations: 167.4 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.006273, allocations: 11.94 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.006285, allocations: 4.031 kB / 0.9847 GB, free: 14.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.006323, allocations: 7.984 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.006361, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.006364, allocations: 0 / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.922e-05/0.006393, allocations: 87.27 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006393, allocations: 3.938 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001361/0.00653, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 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.000404/0.006934, allocations: 0.6962 MB / 0.9854 GB, free: 13.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.007105, allocations: 39.89 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.007107, allocations: 0 / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.00715, allocations: 15.98 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.007489, allocations: 8 kB / 0.9855 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.007961, allocations: 134.6 kB / 0.9856 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.008143, allocations: 63.34 kB / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.00817, allocations: 0 / 0.9857 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.008222, allocations: 12.5 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.008223, allocations: 0 / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.02534, allocations: 1.954 MB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.665, allocations: 1.172 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sqrt.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.788001435808837]