Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.000826/0.000826, 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.001251/0.001251, 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.8784/0.8784, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.38e-05, allocations: 4.953 kB / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001389/0.001413, allocations: 0.6911 MB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.00228, allocations: 0.886 MB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.002318, allocations: 4 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.002346, allocations: 3.938 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.002411, allocations: 11.88 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.002581, allocations: 15.97 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.259e-05/0.002653, allocations: 47.86 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.002746, allocations: 11.92 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.002822, allocations: 27.97 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.00286, allocations: 15.92 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.002883, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-06/0.002892, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.002908, allocations: 11.98 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.002932, allocations: 15.88 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.828e-05/0.00302, allocations: 43.91 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003022, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003024, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.003028, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 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.000378/0.003406, allocations: 284.4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.003447, allocations: 12.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.901e-05/0.003476, allocations: 30.75 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.003498, allocations: 12.89 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.054e-05/0.003579, allocations: 113.7 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.00359, allocations: 4.375 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.003598, allocations: 384 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.003766, allocations: 66.22 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003773, allocations: 192 / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.003783, allocations: 4.375 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003789, allocations: 4.125 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.003931, allocations: 71.86 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.004246, allocations: 220.1 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.004374, allocations: 62.47 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.004447, allocations: 32.92 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.004468, allocations: 3.938 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.00449, allocations: 46.48 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.004491, allocations: 0 / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003066/0.004798, allocations: 129.5 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.004826, allocations: 51.41 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.004895, allocations: 121.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.004906, allocations: 29.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.004945, allocations: 88.84 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.004963, allocations: 11.95 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.004994, allocations: 9.719 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.005068, allocations: 318.8 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.476e-05/0.005143, allocations: 31.95 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.005209, allocations: 35.91 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.005343, allocations: 72.78 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005345, allocations: 0 / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001614/0.005506, allocations: 101.5 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.00552, allocations: 11.94 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005524, allocations: 0 / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.005536, allocations: 4 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.005615, allocations: 15.97 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.005621, allocations: 4 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.005655, allocations: 7.984 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.005662, allocations: 4 kB / 1.003 GB, free: 9.438 MB / 0.9636 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 5.561e-05/0.005718, allocations: 113.8 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.005732, allocations: 7.938 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.00576, allocations: 7.984 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.005762, allocations: 4 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.005767, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.005769, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.005877, allocations: 140.7 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005879, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.005926, allocations: 19.92 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005928, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005934, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.005935, allocations: 3.938 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.005936, allocations: 4 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.006131, allocations: 191.5 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-06/0.006138, allocations: 3.938 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.006149, allocations: 8 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.006199, allocations: 7.984 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.006238, allocations: 11.92 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.006241, allocations: 0 / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.006273, allocations: 91.27 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006273, allocations: 4 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001393/0.006413, allocations: 7.953 kB / 1.004 GB, free: 8.746 MB / 0.9636 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.0003861/0.006799, allocations: 0.7241 MB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.006987, allocations: 72.28 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.006989, allocations: 0 / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.007059, allocations: 31.97 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.007303, allocations: 4.188 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.007655, allocations: 154.4 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.472e-05/0.007699, allocations: 75.27 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.007722, allocations: 7.984 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.007761, allocations: 12.5 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of SimCode: time 5.2e-07/0.007761, allocations: 7.938 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.02234, allocations: 2.375 MB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/6.456, allocations: 5.891 kB / 1.007 GB, free: 5.332 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.464882487431169]