Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 106.2 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 176] 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.Modulo,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 75.88 kB / 1.104 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.8004, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002424/0.8028, allocations: 0.7041 MB / 1.269 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.8041, allocations: 0.8741 MB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.8042, allocations: 0 / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.8042, allocations: 3.938 kB / 1.27 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.691e-05/0.8043, allocations: 11.94 kB / 1.27 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.8045, allocations: 15.98 kB / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.8046, allocations: 47.78 kB / 1.27 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.8047, allocations: 11.98 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.8048, allocations: 11.98 kB / 1.27 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.8049, allocations: 27.91 kB / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.8049, allocations: 0 / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.358e-06/0.8049, allocations: 4 kB / 1.27 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.8049, allocations: 11.94 kB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.805, allocations: 15.92 kB / 1.271 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.8051, allocations: 45.62 kB / 1.271 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.8051, allocations: 4 kB / 1.271 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8051, allocations: 0 / 1.271 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8051, allocations: 0 / 1.271 GB, free: 3.398 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006411/0.8058, allocations: 367.3 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.8058, allocations: 8.031 kB / 1.271 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.447e-05/0.8059, allocations: 34.69 kB / 1.271 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.8059, allocations: 12.88 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.806, allocations: 160.4 kB / 1.271 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.8061, allocations: 8.375 kB / 1.271 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.8061, allocations: 4.375 kB / 1.271 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.8063, allocations: 62.22 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8064, allocations: 7.938 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.8064, allocations: 4 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.8064, allocations: 0 / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.8067, allocations: 67.92 kB / 1.271 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.8071, allocations: 268.8 kB / 1.272 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.8073, allocations: 58.53 kB / 1.272 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.8074, allocations: 36.92 kB / 1.272 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.8075, allocations: 3.938 kB / 1.272 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.8075, allocations: 30.56 kB / 1.272 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8075, allocations: 0 / 1.272 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.000549/0.808, allocations: 137.5 kB / 1.272 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.8081, allocations: 51.41 kB / 1.272 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.8082, allocations: 113.8 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.8082, allocations: 25.7 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.8083, allocations: 88.08 kB / 1.272 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.8083, allocations: 15.89 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.8084, allocations: 13.72 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8085, allocations: 318.8 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.8087, allocations: 39.95 kB / 1.272 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.8088, allocations: 27.97 kB / 1.272 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.8091, allocations: 77 kB / 1.273 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8091, allocations: 0 / 1.273 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003107/0.8094, allocations: 105.5 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8094, allocations: 4 kB / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.8094, allocations: 0 / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8094, allocations: 0 / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.8095, allocations: 19.97 kB / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8095, allocations: 4 kB / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.8096, allocations: 15.94 kB / 1.273 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8096, allocations: 0 / 1.273 GB, free: 1.016 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 (3): * Single equations (assignments): 3 * 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 9.17e-05/0.8097, allocations: 113.8 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.8098, allocations: 4 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.8098, allocations: 3.906 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.8098, allocations: 0 / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8098, allocations: 4 kB / 1.273 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.8098, allocations: 7.984 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.81, allocations: 169.6 kB / 1.273 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.81, allocations: 0 / 1.273 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.8101, allocations: 15.92 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8101, allocations: 0 / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.8101, allocations: 4 kB / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8101, allocations: 0 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8101, allocations: 0 / 1.273 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.8105, allocations: 203.4 kB / 1.273 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.8105, allocations: 77.11 kB / 1.273 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.8106, allocations: 4 kB / 1.273 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.8107, allocations: 7.984 kB / 1.273 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.8107, allocations: 11.98 kB / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.8107, allocations: 0 / 1.273 GB, free: 304 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.8108, allocations: 95.2 kB / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8108, allocations: 0 / 1.273 GB, free: 208 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002184/0.811, allocations: 8 kB / 1.273 GB, free: 200 kB / 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 (3): * Single equations (assignments): 3 * 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.0008031/0.8118, allocations: 0.7323 MB / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.8121, allocations: 71.91 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8121, allocations: 0 / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.8123, allocations: 39.91 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.8126, allocations: 4 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.8132, allocations: 170.9 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.8135, allocations: 0.6807 MB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.8136, allocations: 4 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.8136, allocations: 15.42 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8136, allocations: 4 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.8395, allocations: 1.698 MB / 1.277 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/9.048, allocations: 7.906 kB / 1.277 GB, free: 12.78 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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: 15.307157998904586]