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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001179/0.001179, allocations: 104 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 190.4 kB / 17.29 MB, free: 5.48 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.78 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3314, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002317/0.3338, allocations: 0.6816 MB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3349, allocations: 0.8195 MB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.335, allocations: 0 / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3352, allocations: 11.92 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.235e-05/0.3352, allocations: 0 / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.3354, allocations: 27.92 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3355, allocations: 35.84 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.3357, allocations: 8 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.3357, allocations: 15.98 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.3358, allocations: 15.92 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.3358, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.3359, allocations: 0 / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.3359, allocations: 11.98 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.336, allocations: 19.86 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3361, allocations: 39.88 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3361, allocations: 0 / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.915e-06/0.3361, allocations: 0 / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.3361, allocations: 0 / 1.028 GB, free: 332 kB / 0.795 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.0005954/0.3367, allocations: 347.4 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3368, allocations: 12.03 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.3369, allocations: 0.9375 kB / 1.029 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3371, allocations: 176.2 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.3371, allocations: 12.31 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3371, allocations: 4.375 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.3374, allocations: 66.22 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3374, allocations: 192 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3374, allocations: 7.875 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3374, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.3376, allocations: 47.94 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.3381, allocations: 280.7 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3382, allocations: 42.55 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.3383, allocations: 20.91 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3383, allocations: 3.984 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3384, allocations: 34.56 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3384, allocations: 8 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003601/0.3387, allocations: 85.58 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3388, allocations: 51.41 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.3389, allocations: 109.8 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3389, allocations: 25.7 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.339, allocations: 80.14 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.339, allocations: 16.03 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.339, allocations: 17.7 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3391, allocations: 314.8 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.3392, allocations: 15.98 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.3393, allocations: 23.97 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3395, allocations: 40.89 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3395, allocations: 3.938 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.3397, allocations: 69.91 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3397, allocations: 8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3397, allocations: 3.984 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3397, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/0.3398, allocations: 4 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3398, allocations: 8.031 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.3399, allocations: 11.91 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3399, allocations: 4 kB / 1.03 GB, free: 14.18 MB / 0.8106 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.0001059/0.34, allocations: 109.8 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.3401, allocations: 11.89 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.3401, allocations: 7.125 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3401, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3401, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3401, allocations: 4 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.3403, allocations: 165.6 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3403, allocations: 4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.118e-05/0.3404, allocations: 11.98 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3404, allocations: 7.875 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3404, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3404, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3404, allocations: 4 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.3406, allocations: 167.5 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.3407, allocations: 77.11 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3407, allocations: 3.984 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.3408, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.3408, allocations: 7.984 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3409, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.3409, allocations: 83.28 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3409, allocations: 4.031 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002131/0.3411, allocations: 8 kB / 1.031 GB, free: 13.41 MB / 0.8106 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.0001257/0.3413, allocations: 95.25 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3415, allocations: 51.83 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3415, allocations: 0 / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.3416, allocations: 24.03 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3419, allocations: 8 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.3422, allocations: 120.9 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3424, allocations: 0.6846 MB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.3425, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.3425, allocations: 11.44 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of SimCode: time 1.273e-06/0.3425, allocations: 4.062 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of Templates: time 0.002656/0.3452, allocations: 0.6279 MB / 1.032 GB, free: 11.74 MB / 0.8106 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 -s cvode -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/jenkins1/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