Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0013/0.001305, allocations: 110.2 kB / 17.08 MB, free: 6.008 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.001324/0.001324, allocations: 194.2 kB / 20.03 MB, free: 3.078 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.492/1.492, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.034/3.034, allocations: 489.3 MB / 0.7687 GB, free: 3.82 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.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001786/1.067, allocations: 0.647 MB / 1.263 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008673/1.068, allocations: 0.7893 MB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/1.068, allocations: 0 / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/1.068, allocations: 4.844 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.398e-05/1.068, allocations: 4.938 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/1.068, allocations: 8.203 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.705e-05/1.068, allocations: 26.05 kB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/1.068, allocations: 4.516 kB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/1.068, allocations: 11.7 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/1.068, allocations: 15.2 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/1.068, allocations: 2.281 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-06/1.068, allocations: 2.062 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/1.068, allocations: 12.5 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/1.068, allocations: 19.92 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.207e-05/1.068, allocations: 29.16 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.068, allocations: 3.938 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.264e-06/1.068, allocations: 0.875 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.068, allocations: 0 / 1.264 GB, free: 6.934 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.0004076/1.069, allocations: 345.7 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.069, allocations: 10.7 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/1.069, allocations: 6.625 kB / 1.264 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/1.069, allocations: 173.8 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/1.069, allocations: 2.031 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/1.069, allocations: 2 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/1.069, allocations: 65.5 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.069, allocations: 192 / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/1.069, allocations: 3.938 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/1.069, allocations: 1.453 kB / 1.265 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/1.07, allocations: 38.98 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/1.07, allocations: 278 kB / 1.265 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/1.07, allocations: 29.28 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.5e-05/1.07, allocations: 23.09 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/1.07, allocations: 4 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/1.07, allocations: 32.89 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/1.07, allocations: 0 / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003336/1.07, allocations: 76.27 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/1.071, allocations: 52.81 kB / 1.265 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/1.071, allocations: 106.8 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/1.071, allocations: 25.7 kB / 1.265 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/1.071, allocations: 95.42 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/1.071, allocations: 0.8125 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/1.071, allocations: 12.45 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.767e-05/1.071, allocations: 320.4 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/1.071, allocations: 13.59 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/1.071, allocations: 17.42 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.071, allocations: 39.84 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.071, allocations: 3.938 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001845/1.071, allocations: 65.47 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/1.071, allocations: 4.781 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.071, allocations: 1.672 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.071, allocations: 4 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/1.071, allocations: 7.266 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.071, allocations: 0.75 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/1.071, allocations: 5.594 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/1.071, allocations: 4.875 kB / 1.266 GB, free: 5.207 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 (1): * Single equations (assignments): 1 * 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.561e-05/1.072, allocations: 120.3 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/1.072, allocations: 2.312 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.885e-05/1.072, allocations: 4.422 kB / 1.266 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.072, allocations: 5.484 kB / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.072, allocations: 0 / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/1.072, allocations: 0 / 1.266 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/1.072, allocations: 161.9 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.072, allocations: 1.438 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/1.072, allocations: 10.81 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.072, allocations: 0.6562 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/1.072, allocations: 1.578 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.072, allocations: 4 kB / 1.266 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.072, allocations: 0.75 kB / 1.266 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/1.072, allocations: 163.5 kB / 1.266 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/1.072, allocations: 83.11 kB / 1.266 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/1.072, allocations: 1.266 kB / 1.266 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/1.072, allocations: 6.625 kB / 1.266 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/1.072, allocations: 1.312 kB / 1.266 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/1.072, allocations: 4.844 kB / 1.266 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.164e-05/1.072, allocations: 84.81 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.072, allocations: 0.625 kB / 1.267 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002164/1.073, allocations: 3.5 kB / 1.267 GB, free: 4.555 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 (1): * Single equations (assignments): 1 * 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.0001221/1.073, allocations: 97.7 kB / 1.267 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002261/1.073, allocations: 36.56 kB / 1.267 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.073, allocations: 4.812 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/1.073, allocations: 14.05 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/1.073, allocations: 11.16 kB / 1.267 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/1.074, allocations: 145.3 kB / 1.267 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/1.074, allocations: 0.6784 MB / 1.268 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/1.074, allocations: 9.141 kB / 1.268 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/1.074, allocations: 4.844 kB / 1.268 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.002122/1.076, allocations: 0.5647 MB / 1.268 GB, free: 3.562 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.500864295987412]