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.001419/0.001419, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001462/0.001462, allocations: 166.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.792/2.792, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] 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.234e-06/2.234e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.524e-05/3.747e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002364/0.002401, allocations: 0.622 MB / 0.9516 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.004503, allocations: 1.124 MB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.004588, allocations: 0 / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.00472, allocations: 11.92 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.297e-05/0.004753, allocations: 3.938 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.005422, allocations: 131.1 kB / 0.9528 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.005693, allocations: 91.81 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.005818, allocations: 0 / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.005981, allocations: 47.97 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.006147, allocations: 35.81 kB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.006191, allocations: 8 kB / 0.953 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.315e-05/0.006284, allocations: 27.92 kB / 0.953 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.006364, allocations: 4 kB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.56e-05/0.006449, allocations: 27.95 kB / 0.953 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.006732, allocations: 111.7 kB / 0.9531 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.006737, allocations: 4 kB / 0.9532 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.006738, allocations: 0 / 0.9532 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.006746, allocations: 3.938 kB / 0.9532 GB, free: 9.312 MB / 0.8575 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.0007029/0.007449, allocations: 300 kB / 0.9534 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.007498, allocations: 8.031 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.171e-05/0.00758, allocations: 8.891 kB / 0.9535 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.007853, allocations: 125.7 kB / 0.9536 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.007874, allocations: 4.375 kB / 0.9536 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.007899, allocations: 4.375 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.008057, allocations: 46.25 kB / 0.9536 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.00807, allocations: 4.188 kB / 0.9536 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.008084, allocations: 8.312 kB / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.00809, allocations: 384 / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.008138, allocations: 15.92 kB / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.008598, allocations: 232.5 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.008672, allocations: 34.5 kB / 0.9539 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.008691, allocations: 4.859 kB / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.008702, allocations: 0 / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.008892, allocations: 67.38 kB / 0.954 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.008893, allocations: 4 kB / 0.954 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002296/0.009123, allocations: 61.69 kB / 0.954 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.009186, allocations: 55.34 kB / 0.9541 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.009303, allocations: 109.8 kB / 0.9542 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.009332, allocations: 25.7 kB / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.009426, allocations: 92.12 kB / 0.9543 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.009441, allocations: 7.953 kB / 0.9543 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.009518, allocations: 33.69 kB / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.009688, allocations: 314.8 kB / 0.9547 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.009793, allocations: 57.69 kB / 0.9547 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.009915, allocations: 80.5 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.01004, allocations: 84.27 kB / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01004, allocations: 4 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003035/0.01035, allocations: 180.9 kB / 0.955 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.01039, allocations: 33.69 kB / 0.9551 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.0104, allocations: 4 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.01042, allocations: 0 / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.897e-05/0.01044, allocations: 0 / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.01044, allocations: 0 / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.01066, allocations: 36.02 kB / 0.9551 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.0107, allocations: 11.98 kB / 0.9551 GB, free: 7.059 MB / 0.8575 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 0.0001033/0.0108, allocations: 109.8 kB / 0.9552 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.01082, allocations: 7.938 kB / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.01084, allocations: 8 kB / 0.9552 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01085, allocations: 0 / 0.9552 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01085, allocations: 3.938 kB / 0.9552 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01085, allocations: 0 / 0.9552 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.01098, allocations: 109.3 kB / 0.9554 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01098, allocations: 4 kB / 0.9554 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-06/0.01099, allocations: 3.938 kB / 0.9554 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01099, allocations: 3.938 kB / 0.9554 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.011, allocations: 11.92 kB / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.011, allocations: 0 / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.011, allocations: 0 / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.01113, allocations: 81.08 kB / 0.9555 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.01113, allocations: 0 / 0.9555 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.01115, allocations: 3.938 kB / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.01116, allocations: 0 / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.0112, allocations: 11.98 kB / 0.9555 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.0112, allocations: 0 / 0.9555 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.01127, allocations: 83.28 kB / 0.9555 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01127, allocations: 0 / 0.9555 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002249/0.0115, allocations: 19.94 kB / 0.9556 GB, free: 6.543 MB / 0.8575 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.0001964/0.01169, allocations: 107.6 kB / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.01197, allocations: 137 kB / 0.9558 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01197, allocations: 0 / 0.9558 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.012, allocations: 15.97 kB / 0.9558 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.01223, allocations: 16.19 kB / 0.9558 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.01265, allocations: 139.1 kB / 0.956 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.553e-05/0.01272, allocations: 63.34 kB / 0.956 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.01274, allocations: 4 kB / 0.956 GB, free: 6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.01277, allocations: 8.5 kB / 0.956 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.01277, allocations: 0 / 0.956 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of Templates: time 0.004578/0.01735, allocations: 1.149 MB / 0.9572 GB, free: 4.871 MB / 0.8575 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: 8.053365625441074]