Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.7 MB / 0.7452 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.98 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3537, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002164/0.356, allocations: 0.6689 MB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.3569, allocations: 0.8334 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.357, allocations: 4 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.3571, allocations: 7.938 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.8e-05/0.3572, allocations: 7.938 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.3573, allocations: 15.92 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.835e-05/0.3574, allocations: 31.92 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3576, allocations: 7.984 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.3576, allocations: 19.92 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.3577, allocations: 15.92 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.3577, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.3578, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.3578, allocations: 11.98 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.374e-05/0.3579, allocations: 23.88 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.96e-05/0.358, allocations: 39.86 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.358, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.358, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.358, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005087/0.3585, allocations: 343.7 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3586, allocations: 12.03 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3586, allocations: 0.9375 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3588, allocations: 184.2 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3588, allocations: 4.375 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.3588, allocations: 384 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.359, allocations: 66.22 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.359, allocations: 192 / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3591, allocations: 3.938 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3591, allocations: 0 / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.3593, allocations: 43.95 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.3597, allocations: 288.7 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3599, allocations: 42.55 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.107e-05/0.36, allocations: 16.91 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.36, allocations: 11.98 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.36, allocations: 34.56 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.36, allocations: 0 / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004179/0.3604, allocations: 89.48 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.3605, allocations: 51.41 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.3606, allocations: 117.9 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3606, allocations: 25.7 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.3607, allocations: 92.05 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3607, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.3608, allocations: 17.7 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3609, allocations: 318.8 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.361, allocations: 15.98 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.3611, allocations: 23.97 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3613, allocations: 40.77 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3613, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.3615, allocations: 77.59 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3615, allocations: 5.562 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3615, allocations: 8.078 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3616, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3617, allocations: 8 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3617, allocations: 0 / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.3617, allocations: 11.89 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3618, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001603/0.3619, allocations: 119.3 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.362, allocations: 3.984 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.362, allocations: 7.125 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.362, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.362, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.362, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.3622, allocations: 169.6 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3622, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.86e-05/0.3622, allocations: 11.92 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3623, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.3623, allocations: 7.938 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3623, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3623, allocations: 0 / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3625, allocations: 171.4 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.3626, allocations: 77.11 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3626, allocations: 7.984 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.948e-05/0.3627, allocations: 4 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.3627, allocations: 3.984 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3627, allocations: 4.031 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.3628, allocations: 87.53 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3628, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002138/0.363, allocations: 11.91 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001273/0.3631, allocations: 99.72 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3634, allocations: 47.89 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3634, allocations: 4.062 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.221e-05/0.3635, allocations: 27.97 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.3637, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.3641, allocations: 118.6 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.3644, allocations: 0.6885 MB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.3644, allocations: 4 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3645, allocations: 11.44 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of SimCode: time 1.563e-06/0.3645, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of Templates: time 0.003303/0.3678, allocations: 0.6179 MB / 1.074 GB, free: 4.078 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches