Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001876/0.001876, allocations: 113.4 kB / 17.08 MB, free: 6.012 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.002147/0.002147, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.456/1.456, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.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.065/3.065, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 71.89 kB / 1.103 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9359/0.9382, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001718/0.94, allocations: 0.7189 MB / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.9407, allocations: 0.8075 MB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.9408, allocations: 0 / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.9408, allocations: 3.25 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.447e-05/0.9409, allocations: 9.281 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 9.885e-05/0.941, allocations: 14.09 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.9411, allocations: 39.61 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.9412, allocations: 14.75 kB / 1.264 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.9413, allocations: 16.91 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.9413, allocations: 26.92 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.9413, allocations: 4.125 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.9414, allocations: 3.406 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.9414, allocations: 7.484 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.9414, allocations: 17.16 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.9415, allocations: 39.05 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9415, allocations: 4.75 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9415, allocations: 7.938 kB / 1.264 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.9416, allocations: 0.8438 kB / 1.264 GB, free: 6.848 MB / 0.9981 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.0004563/0.942, allocations: 359.8 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9421, allocations: 9.781 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.9421, allocations: 11.8 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.96e-05/0.9422, allocations: 171.7 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.9422, allocations: 1.688 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.9422, allocations: 2 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.9425, allocations: 72.53 kB / 1.265 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9425, allocations: 5.562 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.9425, allocations: 3.938 kB / 1.265 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9425, allocations: 5 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.9428, allocations: 66.95 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.9431, allocations: 265.5 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.9433, allocations: 59.66 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.9435, allocations: 36.81 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.9435, allocations: 5.469 kB / 1.265 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.9436, allocations: 31.47 kB / 1.265 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.9436, allocations: 0.8125 kB / 1.265 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005748/0.9441, allocations: 128.8 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.9442, allocations: 56.77 kB / 1.266 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.9443, allocations: 110.6 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.9443, allocations: 26.33 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.9443, allocations: 87.3 kB / 1.266 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.9444, allocations: 14.06 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.9444, allocations: 14 kB / 1.266 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.9445, allocations: 317.2 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.9446, allocations: 34.86 kB / 1.266 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.9448, allocations: 35.97 kB / 1.266 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.9451, allocations: 70.94 kB / 1.266 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.9451, allocations: 3.938 kB / 1.266 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003362/0.9454, allocations: 102.2 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9455, allocations: 5.469 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.9455, allocations: 0.9062 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9455, allocations: 0.7969 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.9456, allocations: 16.17 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.9456, allocations: 0 / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.9457, allocations: 15.62 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.9457, allocations: 0.8125 kB / 1.266 GB, free: 5.066 MB / 0.9981 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 4.761e-05/0.9458, allocations: 116.8 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.9458, allocations: 2.172 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.9462, allocations: 104.5 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.9462, allocations: 5.516 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.9462, allocations: 0 / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9462, allocations: 1.672 kB / 1.267 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.9464, allocations: 173.6 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.9464, allocations: 0.5156 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.9465, allocations: 16.34 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.9465, allocations: 0 / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.9465, allocations: 4.969 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.9465, allocations: 1.844 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9465, allocations: 0 / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.9469, allocations: 205.9 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.9469, allocations: 83.16 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.9469, allocations: 1.781 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.947, allocations: 11.3 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.9471, allocations: 11.2 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.9471, allocations: 1.094 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.9471, allocations: 88.75 kB / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9471, allocations: 0 / 1.267 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002264/0.9474, allocations: 6.688 kB / 1.267 GB, free: 4.34 MB / 0.9981 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.0001141/0.9475, allocations: 97.52 kB / 1.267 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003653/0.9479, allocations: 70.7 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9479, allocations: 0 / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.948, allocations: 39.05 kB / 1.267 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.9483, allocations: 13.22 kB / 1.267 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.9486, allocations: 147.5 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.918e-05/0.9487, allocations: 0.6847 MB / 1.268 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.9488, allocations: 13.91 kB / 1.268 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.9488, allocations: 0 / 1.268 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of Templates: time 0.002325/0.9511, allocations: 0.7509 MB / 1.269 GB, free: 3.316 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 11.469906596001238]