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.0009721/0.0009721, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001077/0.001077, allocations: 181.3 kB / 24.09 MB, free: 420 kB / 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.9742/0.9742, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.789/1.789, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.985e-06/2.985e-06, allocations: 0 / 0.7875 GB, free: 11.08 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.182e-05, allocations: 4.844 kB / 0.7876 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001903/0.001934, allocations: 0.629 MB / 0.7882 GB, free: 10.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.003558, allocations: 1.161 MB / 0.7893 GB, free: 9.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.003616, allocations: 0 / 0.7893 GB, free: 9.297 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.003723, allocations: 0 / 0.7893 GB, free: 9.297 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.003759, allocations: 8.5 kB / 0.7893 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.004253, allocations: 125 kB / 0.7894 GB, free: 9.168 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.004418, allocations: 87.77 kB / 0.7895 GB, free: 9.082 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.004514, allocations: 4.938 kB / 0.7895 GB, free: 9.078 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.00462, allocations: 59.88 kB / 0.7896 GB, free: 9.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.004733, allocations: 19.97 kB / 0.7896 GB, free: 9 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.00476, allocations: 9.156 kB / 0.7896 GB, free: 8.992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.004834, allocations: 23.98 kB / 0.7896 GB, free: 8.969 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.00489, allocations: 7.969 kB / 0.7896 GB, free: 8.961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.004943, allocations: 32.48 kB / 0.7897 GB, free: 8.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.005099, allocations: 76.73 kB / 0.7897 GB, free: 8.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.005103, allocations: 0 / 0.7897 GB, free: 8.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005105, allocations: 0 / 0.7897 GB, free: 8.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.005108, allocations: 0.6562 kB / 0.7897 GB, free: 8.855 MB / 0.698 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.0004363/0.005544, allocations: 414.8 kB / 0.7901 GB, free: 8.406 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.005588, allocations: 11.97 kB / 0.7901 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.005633, allocations: 4.938 kB / 0.7901 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.005787, allocations: 134.2 kB / 0.7903 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.005802, allocations: 4.375 kB / 0.7903 GB, free: 8.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.00582, allocations: 4.375 kB / 0.7903 GB, free: 8.227 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.335e-05/0.005904, allocations: 42.25 kB / 0.7903 GB, free: 8.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.005911, allocations: 1.406 kB / 0.7903 GB, free: 8.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.005918, allocations: 384 / 0.7903 GB, free: 8.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.005924, allocations: 384 / 0.7903 GB, free: 8.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.005945, allocations: 11.94 kB / 0.7903 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.00625, allocations: 277 kB / 0.7906 GB, free: 7.871 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.558e-05/0.006295, allocations: 28.66 kB / 0.7906 GB, free: 7.832 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.006332, allocations: 7.688 kB / 0.7906 GB, free: 7.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.006338, allocations: 4.062 kB / 0.7906 GB, free: 7.816 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.568e-05/0.006434, allocations: 64.92 kB / 0.7907 GB, free: 7.738 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.006436, allocations: 3.531 kB / 0.7907 GB, free: 7.738 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001727/0.006608, allocations: 57.64 kB / 0.7908 GB, free: 7.676 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.006649, allocations: 59.39 kB / 0.7908 GB, free: 7.605 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.006754, allocations: 161.9 kB / 0.791 GB, free: 7.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.006779, allocations: 33.7 kB / 0.791 GB, free: 7.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.006844, allocations: 138.8 kB / 0.7911 GB, free: 7.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.385e-06/0.006852, allocations: 0 / 0.7911 GB, free: 7.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.006918, allocations: 39.34 kB / 0.7912 GB, free: 7.203 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.007065, allocations: 496.1 kB / 0.7916 GB, free: 6.707 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.007135, allocations: 54.27 kB / 0.7917 GB, free: 6.648 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.77e-05/0.007213, allocations: 76.75 kB / 0.7918 GB, free: 6.555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.007313, allocations: 82.39 kB / 0.7918 GB, free: 6.457 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007316, allocations: 0 / 0.7918 GB, free: 6.457 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002392/0.007555, allocations: 174.2 kB / 0.792 GB, free: 6.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.007597, allocations: 41.58 kB / 0.7921 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.007603, allocations: 0.9062 kB / 0.7921 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.007616, allocations: 0 / 0.7921 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.746e-05/0.007634, allocations: 5.031 kB / 0.7921 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.007638, allocations: 3.984 kB / 0.7921 GB, free: 6.215 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.007783, allocations: 21.27 kB / 0.7921 GB, free: 6.195 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.007802, allocations: 8 kB / 0.7921 GB, free: 6.188 MB / 0.698 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.285e-05/0.007894, allocations: 164.5 kB / 0.7922 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007909, allocations: 8.578 kB / 0.7923 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.007935, allocations: 4 kB / 0.7923 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007938, allocations: 5.281 kB / 0.7923 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.007939, allocations: 0 / 0.7923 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007942, allocations: 0 / 0.7923 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.02e-05/0.008033, allocations: 106 kB / 0.7924 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.008035, allocations: 0 / 0.7924 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-06/0.008044, allocations: 6.125 kB / 0.7924 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008046, allocations: 0 / 0.7924 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.008053, allocations: 4 kB / 0.7924 GB, free: 5.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.008056, allocations: 3.938 kB / 0.7924 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008057, allocations: 0 / 0.7924 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.008176, allocations: 92.95 kB / 0.7925 GB, free: 5.746 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.008185, allocations: 3.984 kB / 0.7925 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.008195, allocations: 0.6875 kB / 0.7925 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.008211, allocations: 3.938 kB / 0.7925 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.296e-05/0.008234, allocations: 4.5 kB / 0.7925 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.008239, allocations: 1.188 kB / 0.7925 GB, free: 5.734 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.008287, allocations: 127.2 kB / 0.7926 GB, free: 5.609 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.008287, allocations: 0 / 0.7926 GB, free: 5.609 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002239/0.008511, allocations: 20.53 kB / 0.7926 GB, free: 5.59 MB / 0.698 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.0001542/0.008665, allocations: 96.47 kB / 0.7927 GB, free: 5.484 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.008843, allocations: 140.7 kB / 0.7928 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.008846, allocations: 1.031 kB / 0.7928 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.008869, allocations: 11.69 kB / 0.7929 GB, free: 5.309 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.009086, allocations: 16.69 kB / 0.7929 GB, free: 5.293 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.009362, allocations: 135.2 kB / 0.793 GB, free: 5.133 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.009398, allocations: 59.34 kB / 0.7931 GB, free: 5.055 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.009418, allocations: 1.125 kB / 0.7931 GB, free: 5.055 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.009522, allocations: 90.19 kB / 0.7931 GB, free: 4.965 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.009522, allocations: 0.8438 kB / 0.7932 GB, free: 4.965 MB / 0.698 GB Notification: Performance of Templates: time 0.003131/0.01265, allocations: 1.282 MB / 0.7944 GB, free: 3.738 MB / 0.698 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.829537663143128]