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.001264/0.001264, allocations: 111.8 kB / 18.13 MB, free: 3.684 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.001346/0.001346, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 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.428/1.428, allocations: 225.6 MB / 250.2 MB, free: 13.3 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.881/2.881, allocations: 476.7 MB / 0.7637 GB, free: 10.09 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.002001/0.002001, allocations: 75.86 kB / 1.108 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8242/0.8262, allocations: 168.7 MB / 1.273 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002431/0.8287, allocations: 0.7226 MB / 1.274 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.8299, allocations: 0.8702 MB / 1.274 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.8299, allocations: 4 kB / 1.274 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.83, allocations: 7.875 kB / 1.274 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.8301, allocations: 3.938 kB / 1.274 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.8303, allocations: 23.91 kB / 1.274 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.8304, allocations: 47.84 kB / 1.275 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.8305, allocations: 4 kB / 1.275 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.228e-05/0.8306, allocations: 19.98 kB / 1.275 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.64e-05/0.8306, allocations: 23.91 kB / 1.275 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.8306, allocations: 4 kB / 1.275 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.8306, allocations: 4 kB / 1.275 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.8307, allocations: 7.938 kB / 1.275 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.8307, allocations: 19.92 kB / 1.275 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.8308, allocations: 49.56 kB / 1.275 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8308, allocations: 0 / 1.275 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8308, allocations: 0 / 1.275 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.8309, allocations: 0 / 1.275 GB, free: 2.531 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.0005994/0.8315, allocations: 367.3 kB / 1.275 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.8315, allocations: 8.031 kB / 1.275 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.8315, allocations: 38.75 kB / 1.275 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.8316, allocations: 4.891 kB / 1.275 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.8317, allocations: 168.4 kB / 1.275 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8317, allocations: 384 / 1.275 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.8318, allocations: 4.375 kB / 1.275 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.832, allocations: 70.22 kB / 1.275 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.832, allocations: 3.938 kB / 1.275 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8321, allocations: 0 / 1.275 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8321, allocations: 0 / 1.275 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.8324, allocations: 67.86 kB / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.8328, allocations: 272.9 kB / 1.276 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.833, allocations: 58.52 kB / 1.276 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.8332, allocations: 32.92 kB / 1.276 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.8332, allocations: 4 kB / 1.276 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.8332, allocations: 38.5 kB / 1.276 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.8332, allocations: 4 kB / 1.276 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005584/0.8338, allocations: 125.6 kB / 1.276 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.8338, allocations: 51.41 kB / 1.276 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8339, allocations: 109.8 kB / 1.276 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.8339, allocations: 25.7 kB / 1.276 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.834, allocations: 92.08 kB / 1.276 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.834, allocations: 19.88 kB / 1.276 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.8341, allocations: 13.72 kB / 1.276 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8342, allocations: 314.8 kB / 1.276 GB, free: 460 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.8343, allocations: 31.95 kB / 1.276 GB, free: 428 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.8345, allocations: 39.84 kB / 1.277 GB, free: 388 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.8348, allocations: 72.72 kB / 1.277 GB, free: 312 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8348, allocations: 0 / 1.277 GB, free: 312 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003304/0.8351, allocations: 101.6 kB / 1.277 GB, free: 204 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8352, allocations: 5.562 kB / 1.277 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8352, allocations: 0 / 1.277 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8352, allocations: 4 kB / 1.277 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.8353, allocations: 15.97 kB / 1.277 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8353, allocations: 0 / 1.277 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.8354, allocations: 15.94 kB / 1.277 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.8354, allocations: 0 / 1.277 GB, free: 164 kB / 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.71e-05/0.8355, allocations: 125.7 kB / 1.277 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.8355, allocations: 0 / 1.277 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.8356, allocations: 11.91 kB / 1.277 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8356, allocations: 0 / 1.277 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8356, allocations: 0 / 1.277 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.8356, allocations: 0 / 1.277 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.8358, allocations: 169.6 kB / 1.277 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8358, allocations: 4 kB / 1.277 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.8359, allocations: 19.98 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8359, allocations: 0 / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.8359, allocations: 4 kB / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.8359, allocations: 0 / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.8359, allocations: 0 / 1.277 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.8363, allocations: 195.4 kB / 1.277 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.8364, allocations: 81.48 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.8364, allocations: 4 kB / 1.277 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.8365, allocations: 15.98 kB / 1.277 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.8365, allocations: 7.922 kB / 1.277 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.8365, allocations: 3.984 kB / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.951e-05/0.8366, allocations: 91.27 kB / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8366, allocations: 0 / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002224/0.8368, allocations: 8 kB / 1.277 GB, free: 15.34 MB / 0.9825 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.0007849/0.8376, allocations: 0.7285 MB / 1.278 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.838, allocations: 71.86 kB / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.838, allocations: 0 / 1.278 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.8381, allocations: 39.95 kB / 1.278 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.8385, allocations: 11.94 kB / 1.278 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.8391, allocations: 178.9 kB / 1.278 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.8394, allocations: 0.6885 MB / 1.279 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.8394, allocations: 0 / 1.279 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.8395, allocations: 19.42 kB / 1.279 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.8395, allocations: 0 / 1.279 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.8659, allocations: 1.657 MB / 1.281 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.904, allocations: 22.91 kB / 1.281 GB, free: 11.93 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.09220058703795]