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.001288/0.001288, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.001523/0.001523, allocations: 161 kB / 23.82 MB, free: 0.7617 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.9537/0.9537, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.748/1.748, allocations: 359 MB / 0.6052 GB, free: 11.03 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.62e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001527/0.001554, allocations: 0.6269 MB / 0.7877 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004476/0.006029, allocations: 1.168 MB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.006084, allocations: 0.5625 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.006208, allocations: 8.547 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.006245, allocations: 3.938 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.006754, allocations: 125 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.00691, allocations: 87.83 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.007007, allocations: 8.781 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.007092, allocations: 51.95 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.007204, allocations: 24.52 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.007232, allocations: 8 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.007304, allocations: 21.17 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.00737, allocations: 15.92 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.007432, allocations: 27.97 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.007601, allocations: 73.47 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007603, allocations: 0 / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.007604, allocations: 0 / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.007608, allocations: 0 / 0.7893 GB, free: 10.25 MB / 0.7448 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.003693/0.0113, allocations: 415.4 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.01135, allocations: 12.03 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.01141, allocations: 4.938 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.01157, allocations: 124.6 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.01158, allocations: 9 kB / 0.7898 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.01161, allocations: 9.266 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.31e-05/0.0117, allocations: 42.25 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.01171, allocations: 192 / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.01172, allocations: 1.031 kB / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01172, allocations: 384 / 0.7899 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.01175, allocations: 13.53 kB / 0.7899 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.01207, allocations: 287.8 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.01212, allocations: 23.06 kB / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.01214, allocations: 16.75 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.01214, allocations: 0 / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.01224, allocations: 72.97 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.01224, allocations: 3.25 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001908/0.01243, allocations: 61.58 kB / 0.7903 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.01247, allocations: 55.34 kB / 0.7904 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.01257, allocations: 169.9 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.01259, allocations: 29.7 kB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.01265, allocations: 142.8 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.01267, allocations: 7.953 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.01272, allocations: 35.36 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01286, allocations: 496.8 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/0.01293, allocations: 53.67 kB / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.81e-05/0.01302, allocations: 86.41 kB / 0.7914 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.121e-05/0.01311, allocations: 84.69 kB / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01312, allocations: 0 / 0.7914 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000232/0.01335, allocations: 178.5 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.01338, allocations: 33.7 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.01339, allocations: 4 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01341, allocations: 1.344 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.01342, allocations: 0 / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.01343, allocations: 7.922 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.01357, allocations: 25.33 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.01359, allocations: 4 kB / 0.7917 GB, free: 7.527 MB / 0.7448 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 9.632e-05/0.01369, allocations: 160.6 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.0137, allocations: 16.41 kB / 0.7919 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.01373, allocations: 5.656 kB / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.01373, allocations: 0 / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01373, allocations: 0 / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01374, allocations: 0 / 0.7919 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.01383, allocations: 120.6 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01383, allocations: 0.9375 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-06/0.01384, allocations: 0 / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.01384, allocations: 4.469 kB / 0.792 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.01385, allocations: 4 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01385, allocations: 0.5312 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01385, allocations: 1.125 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.01697, allocations: 92.36 kB / 0.7921 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.01698, allocations: 4.312 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.01699, allocations: 4.5 kB / 0.7921 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.01701, allocations: 4 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.01704, allocations: 8.469 kB / 0.7921 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.01705, allocations: 5.359 kB / 0.7921 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.0171, allocations: 123.2 kB / 0.7922 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0171, allocations: 0 / 0.7922 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002348/0.01733, allocations: 23.95 kB / 0.7922 GB, free: 6.898 MB / 0.7448 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.0001343/0.01747, allocations: 104.4 kB / 0.7923 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.01767, allocations: 137.6 kB / 0.7925 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01767, allocations: 4 kB / 0.7925 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.0177, allocations: 16.77 kB / 0.7925 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.0179, allocations: 8.938 kB / 0.7925 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.01819, allocations: 147.5 kB / 0.7926 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.915e-05/0.01823, allocations: 55.36 kB / 0.7927 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.01825, allocations: 0 / 0.7927 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.01827, allocations: 12.5 kB / 0.7927 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01827, allocations: 0.9375 kB / 0.7927 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of Templates: time 0.006842/0.02512, allocations: 1.282 MB / 0.794 GB, free: 5.121 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.863685726188123]