Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.001862/0.001862, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.002099/0.002099, allocations: 190.4 kB / 22.1 MB, free: 5.152 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.573/1.573, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.265/3.265, allocations: 495.8 MB / 0.783 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 70.52 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.413, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002231/0.4153, allocations: 0.6923 MB / 1.307 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.4165, allocations: 0.8394 MB / 1.308 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.4166, allocations: 3.938 kB / 1.308 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.4167, allocations: 3.938 kB / 1.308 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.4168, allocations: 15.91 kB / 1.308 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.417, allocations: 23.92 kB / 1.308 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.4171, allocations: 71.88 kB / 1.308 GB, free: 168 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.4173, allocations: 15.98 kB / 1.308 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/0.4173, allocations: 39.91 kB / 1.308 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.4175, allocations: 43.78 kB / 1.308 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.4175, allocations: 8 kB / 1.308 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.4175, allocations: 4 kB / 1.308 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.4176, allocations: 31.89 kB / 1.308 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.4177, allocations: 27.95 kB / 1.309 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.4178, allocations: 95.53 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4178, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4178, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4179, allocations: 4 kB / 1.309 GB, free: 15.9 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007609/0.4186, allocations: 326.1 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4187, allocations: 12.03 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.4187, allocations: 8.891 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.4189, allocations: 134.4 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.419, allocations: 4.375 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.419, allocations: 4.375 kB / 1.309 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.4194, allocations: 165.8 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.4194, allocations: 192 / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.4195, allocations: 11.88 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.4195, allocations: 4 kB / 1.309 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.42, allocations: 151.8 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.4207, allocations: 415.8 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.421, allocations: 117.1 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.4212, allocations: 81.69 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4213, allocations: 3.938 kB / 1.31 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4213, allocations: 30.56 kB / 1.31 GB, free: 14.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4213, allocations: 0 / 1.31 GB, free: 14.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0008585/0.4221, allocations: 237.4 kB / 1.31 GB, free: 14.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.4222, allocations: 77.11 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4224, allocations: 125.7 kB / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.4224, allocations: 25.7 kB / 1.31 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.4225, allocations: 100 kB / 1.311 GB, free: 13.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.4225, allocations: 11.95 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.1e-05/0.4225, allocations: 25.86 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4227, allocations: 314.8 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.423, allocations: 67.91 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.4232, allocations: 69.64 kB / 1.311 GB, free: 13.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.4236, allocations: 141.4 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4236, allocations: 0 / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004963/0.4241, allocations: 161.5 kB / 1.311 GB, free: 12.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.4241, allocations: 8 kB / 1.311 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4241, allocations: 0 / 1.311 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4242, allocations: 3.938 kB / 1.311 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.4244, allocations: 23.97 kB / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4244, allocations: 3.938 kB / 1.311 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.4245, allocations: 19.97 kB / 1.311 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.4245, allocations: 4 kB / 1.311 GB, free: 12.84 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000136/0.4246, allocations: 129.9 kB / 1.311 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.4247, allocations: 4 kB / 1.311 GB, free: 12.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.4247, allocations: 11.62 kB / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4247, allocations: 0 / 1.312 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.4247, allocations: 7.938 kB / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4247, allocations: 0 / 1.312 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.425, allocations: 176.7 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.425, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.4252, allocations: 27.97 kB / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4252, allocations: 0 / 1.312 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4252, allocations: 3.984 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4252, allocations: 0 / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.4252, allocations: 7.938 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.4258, allocations: 334.6 kB / 1.312 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.4258, allocations: 3.953 kB / 1.312 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4258, allocations: 4 kB / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.426, allocations: 20.34 kB / 1.312 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.426, allocations: 23.91 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.4261, allocations: 4 kB / 1.312 GB, free: 12.03 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.182e-05/0.4262, allocations: 95.2 kB / 1.312 GB, free: 11.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4262, allocations: 4 kB / 1.312 GB, free: 11.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002797/0.4265, allocations: 16 kB / 1.312 GB, free: 11.91 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001425/0.4266, allocations: 104 kB / 1.312 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.4271, allocations: 135.8 kB / 1.312 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4271, allocations: 4.125 kB / 1.312 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.4274, allocations: 91.83 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.4277, allocations: 7.938 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.4283, allocations: 202.1 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.4286, allocations: 0.7081 MB / 1.313 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.228e-05/0.4287, allocations: 15.98 kB / 1.313 GB, free: 10.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.4288, allocations: 11.44 kB / 1.313 GB, free: 10.58 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.4288, allocations: 0 / 1.313 GB, free: 10.58 MB / 1.014 GB Notification: Performance of Templates: time 0.004572/0.4333, allocations: 1.292 MB / 1.315 GB, free: 9.297 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[342]=3.000000 File[2514]=1.000000 Error: Could not read variable intRep.y[1 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[1 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[2 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[2 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[3 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[3 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.499568722210824]