Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007917/0.0007917, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8526/0.8526, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.665e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001227/0.001254, allocations: 0.6249 MB / 0.9523 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002398, allocations: 1.132 MB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.002459, allocations: 0 / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.002582, allocations: 3.938 kB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.792e-05/0.002609, allocations: 7.984 kB / 0.9535 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.003134, allocations: 128.3 kB / 0.9536 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003303, allocations: 87.83 kB / 0.9537 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003412, allocations: 4 kB / 0.9537 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.003493, allocations: 47.95 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.003608, allocations: 35.83 kB / 0.9537 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.003633, allocations: 8 kB / 0.9537 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.168e-05/0.003694, allocations: 15.98 kB / 0.9538 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.003753, allocations: 11.98 kB / 0.9538 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.003801, allocations: 27.92 kB / 0.9538 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.003958, allocations: 107.8 kB / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00396, allocations: 0 / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.423e-06/0.003962, allocations: 0 / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.003966, allocations: 0 / 0.9539 GB, free: 0.7617 MB / 0.9011 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.0003834/0.00435, allocations: 304 kB / 0.9542 GB, free: 436 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004384, allocations: 8.031 kB / 0.9542 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.00443, allocations: 8.891 kB / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.004575, allocations: 137.6 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.004586, allocations: 384 / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.004605, allocations: 16.3 kB / 0.9544 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.004701, allocations: 42.25 kB / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004709, allocations: 4.188 kB / 0.9544 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004718, allocations: 4.375 kB / 0.9544 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004723, allocations: 384 / 0.9544 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.004748, allocations: 11.94 kB / 0.9544 GB, free: 172 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.005028, allocations: 244.5 kB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.957e-05/0.005068, allocations: 14.58 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.005083, allocations: 16.91 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.005091, allocations: 0 / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001104/0.005201, allocations: 67.28 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.005203, allocations: 4 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0001691/0.005372, allocations: 61.67 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.005407, allocations: 55.41 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.005475, allocations: 113.8 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.005492, allocations: 25.7 kB / 0.955 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.005531, allocations: 88.14 kB / 0.9551 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.00554, allocations: 3.953 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.005588, allocations: 29.7 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.005667, allocations: 318.8 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.005733, allocations: 57.69 kB / 0.9555 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.005798, allocations: 84.19 kB / 0.9555 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.005867, allocations: 84.27 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.005869, allocations: 0 / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001743/0.006044, allocations: 176.9 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.006075, allocations: 41.69 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00608, allocations: 0 / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.006093, allocations: 7.938 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.006109, allocations: 3.938 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.006114, allocations: 0 / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.00625, allocations: 28.06 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.006263, allocations: 4 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.117e-05/0.006334, allocations: 121.8 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.00634, allocations: 3.938 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.997e-05/0.00636, allocations: 8 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006362, allocations: 0 / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.006367, allocations: 3.938 kB / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006369, allocations: 0 / 0.956 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.055e-05/0.00644, allocations: 109.5 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006441, allocations: 4 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-06/0.006444, allocations: 0 / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.006447, allocations: 3.938 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006453, allocations: 4.297 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006455, allocations: 0 / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.006456, allocations: 4 kB / 0.9561 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.00654, allocations: 89 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.006546, allocations: 4 kB / 0.9562 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.006557, allocations: 3.938 kB / 0.9562 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.006567, allocations: 4 kB / 0.9562 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.00659, allocations: 7.984 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.006595, allocations: 4 kB / 0.9562 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.73e-05/0.006623, allocations: 79.28 kB / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006623, allocations: 0 / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001475/0.00677, allocations: 23.94 kB / 0.9563 GB, free: 13.96 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001134/0.006884, allocations: 107.2 kB / 0.9564 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.007045, allocations: 137 kB / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.007046, allocations: 0 / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.007069, allocations: 15.98 kB / 0.9566 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.00723, allocations: 8.188 kB / 0.9566 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.007485, allocations: 158.4 kB / 0.9567 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.007528, allocations: 63.34 kB / 0.9568 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.007545, allocations: 12.5 kB / 0.9568 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.007545, allocations: 0 / 0.9568 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of Templates: time 0.001867/0.009412, allocations: 0.9345 MB / 0.9577 GB, free: 12.47 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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: 6.547195266932249]