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.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.001365/0.001365, allocations: 109 kB / 16.45 MB, free: 6.035 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.001325/0.001325, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.134/3.134, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001882/0.001882, allocations: 74.2 kB / 1.134 GB, free: 33.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3807, allocations: 173.9 MB / 1.304 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002532/0.3832, allocations: 0.7023 MB / 1.305 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3845, allocations: 0.8783 MB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.3845, allocations: 0 / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.3845, allocations: 3.938 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.3846, allocations: 11.91 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3848, allocations: 15.98 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.115e-05/0.3849, allocations: 39.86 kB / 1.306 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.385, allocations: 15.98 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.385, allocations: 19.92 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.3851, allocations: 23.92 kB / 1.306 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3851, allocations: 4 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.3851, allocations: 4 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.3852, allocations: 15.91 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.3852, allocations: 11.94 kB / 1.306 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.3853, allocations: 40.09 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3853, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3853, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3853, allocations: 0 / 1.306 GB, free: 15.66 MB / 1.014 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.0006415/0.3859, allocations: 367.4 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.386, allocations: 12.62 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.386, allocations: 30.75 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.3861, allocations: 4.891 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3862, allocations: 176.2 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3862, allocations: 384 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3863, allocations: 16.3 kB / 1.306 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3865, allocations: 70.16 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3865, allocations: 3.938 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3865, allocations: 4 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3865, allocations: 0 / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.3868, allocations: 63.92 kB / 1.306 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.3872, allocations: 272.8 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3874, allocations: 54.55 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3875, allocations: 40.91 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3876, allocations: 0 / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.3876, allocations: 30.56 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3876, allocations: 4 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005359/0.3881, allocations: 137.5 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.3882, allocations: 51.41 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3883, allocations: 113.8 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3883, allocations: 29.7 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.3884, allocations: 80.14 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3884, allocations: 11.95 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3884, allocations: 9.719 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3886, allocations: 322.8 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3887, allocations: 27.97 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.3888, allocations: 39.95 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.3891, allocations: 64.73 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3891, allocations: 0 / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003012/0.3894, allocations: 109.5 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3894, allocations: 9.875 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3894, allocations: 0 / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3894, allocations: 0 / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3895, allocations: 11.98 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3895, allocations: 4 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.3896, allocations: 7.984 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3896, allocations: 4 kB / 1.308 GB, free: 13.29 MB / 1.014 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.442e-05/0.3897, allocations: 129.2 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3897, allocations: 4 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.3898, allocations: 3.906 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3898, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3898, allocations: 7.938 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3898, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.39, allocations: 173.5 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.39, allocations: 3.984 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.3901, allocations: 15.98 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3901, allocations: 4 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3901, allocations: 0 / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3901, allocations: 3.938 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/0.3901, allocations: 3.938 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.3905, allocations: 203.4 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3906, allocations: 81.11 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3906, allocations: 0 / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3907, allocations: 11.98 kB / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3907, allocations: 7.984 kB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3907, allocations: 4 kB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.3908, allocations: 83.28 kB / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3908, allocations: 0 / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000215/0.391, allocations: 11.95 kB / 1.309 GB, free: 12.45 MB / 1.014 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.0007409/0.3917, allocations: 0.7319 MB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.3921, allocations: 68.34 kB / 1.309 GB, free: 11.63 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3921, allocations: 4 kB / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3922, allocations: 35.95 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3925, allocations: 4.188 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.393, allocations: 155 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3934, allocations: 0.6885 MB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.3934, allocations: 0 / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.3934, allocations: 15.44 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3934, allocations: 0 / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.4184, allocations: 1.691 MB / 1.312 GB, free: 9.066 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/8.693, allocations: 4.828 kB / 1.312 GB, free: 9.062 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.369426668155938]