Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001248/0.001248, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001318/0.001318, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.458/1.458, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 75.91 kB / 1.056 GB, free: 2.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3617, allocations: 160.7 MB / 1.213 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002456/0.3642, allocations: 0.7061 MB / 1.214 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3655, allocations: 0.8857 MB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.3656, allocations: 0 / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.3656, allocations: 0 / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.77e-05/0.3657, allocations: 11.86 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.3659, allocations: 15.98 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.366, allocations: 39.92 kB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3661, allocations: 7.984 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.36e-05/0.3662, allocations: 23.86 kB / 1.215 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.3663, allocations: 23.91 kB / 1.215 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3663, allocations: 8 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.3663, allocations: 4 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.3663, allocations: 7.984 kB / 1.215 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.3664, allocations: 15.88 kB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3665, allocations: 40.09 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3665, allocations: 0 / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3665, allocations: 0 / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3665, allocations: 0 / 1.215 GB, free: 15.6 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.0006514/0.3672, allocations: 373.5 kB / 1.215 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3672, allocations: 12.03 kB / 1.215 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.3673, allocations: 30.75 kB / 1.215 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3673, allocations: 8.891 kB / 1.215 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.3675, allocations: 168.3 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3675, allocations: 384 / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.3675, allocations: 8.375 kB / 1.215 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3678, allocations: 70.14 kB / 1.215 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3678, allocations: 11.88 kB / 1.215 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3678, allocations: 0 / 1.215 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.3678, allocations: 4 kB / 1.215 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.3681, allocations: 59.92 kB / 1.215 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.3685, allocations: 272.9 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.3687, allocations: 58.48 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.3689, allocations: 40.91 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3689, allocations: 0 / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.3689, allocations: 30.56 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 3.246e-06/0.3689, allocations: 3.984 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005217/0.3694, allocations: 125.6 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3695, allocations: 59.39 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3696, allocations: 105.8 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3696, allocations: 29.7 kB / 1.216 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.3697, allocations: 88.14 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3697, allocations: 19.78 kB / 1.216 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3698, allocations: 13.72 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3699, allocations: 318.8 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.37, allocations: 31.97 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3702, allocations: 35.95 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.3704, allocations: 68.73 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3704, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.3707, allocations: 97.61 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3708, allocations: 12 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3708, allocations: 0 / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3708, allocations: 0 / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3709, allocations: 19.92 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3709, allocations: 0 / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.371, allocations: 7.984 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.371, allocations: 4 kB / 1.217 GB, free: 13.22 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.082e-05/0.3711, allocations: 121.8 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.3711, allocations: 7.953 kB / 1.217 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.3712, allocations: 3.906 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3712, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3712, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3712, allocations: 0 / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.3714, allocations: 173.5 kB / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3714, allocations: 0 / 1.217 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.3715, allocations: 19.97 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3715, allocations: 0 / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.3715, allocations: 4 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3715, allocations: 0 / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3715, allocations: 0 / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.3719, allocations: 203.3 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.3719, allocations: 85.03 kB / 1.217 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3719, allocations: 4 kB / 1.217 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.372, allocations: 11.98 kB / 1.217 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3721, allocations: 4 kB / 1.217 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.3721, allocations: 4 kB / 1.217 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.3721, allocations: 83.27 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3721, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002162/0.3723, allocations: 12 kB / 1.218 GB, free: 12.39 MB / 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.0007555/0.3731, allocations: 0.7322 MB / 1.218 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.3734, allocations: 79.89 kB / 1.218 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3734, allocations: 0 / 1.218 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3736, allocations: 39.89 kB / 1.218 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3739, allocations: 7.938 kB / 1.218 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.3744, allocations: 159 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3747, allocations: 0.6846 MB / 1.219 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.3748, allocations: 0 / 1.219 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.3748, allocations: 15.44 kB / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.3748, allocations: 0 / 1.219 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.4003, allocations: 1.686 MB / 1.221 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.611, allocations: 13.36 kB / 1.221 GB, free: 8.988 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.794123006984591]