Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001016/0.001016, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001058/0.001058, allocations: 173 kB / 23.28 MB, free: 1.219 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.9408/0.9408, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.361/2.361, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.098e-06/4.098e-06, allocations: 0 / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.864e-05, allocations: 4.984 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00211/0.002149, allocations: 0.6335 MB / 0.8904 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.003776, allocations: 1.158 MB / 0.8915 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.854e-05/0.003844, allocations: 0 / 0.8915 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.003955, allocations: 7.875 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.439e-05/0.00399, allocations: 0 / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.004522, allocations: 119.6 kB / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.004689, allocations: 95.81 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.004783, allocations: 7.938 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.004885, allocations: 55.95 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.005001, allocations: 27.89 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.005026, allocations: 8 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.005101, allocations: 19.98 kB / 0.8918 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.00516, allocations: 4 kB / 0.8918 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.005214, allocations: 31.95 kB / 0.8919 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.005382, allocations: 75.78 kB / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.005386, allocations: 0 / 0.8919 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.94e-06/0.005391, allocations: 3.984 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.005399, allocations: 0 / 0.8919 GB, free: 7.496 MB / 0.8542 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.0004531/0.005852, allocations: 406.2 kB / 0.8923 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.005898, allocations: 16.03 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.005947, allocations: 8.891 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.006098, allocations: 128.6 kB / 0.8925 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006113, allocations: 8.375 kB / 0.8925 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.006129, allocations: 4.375 kB / 0.8925 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.006211, allocations: 46.19 kB / 0.8925 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.00622, allocations: 192 / 0.8925 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.006228, allocations: 4.312 kB / 0.8925 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006234, allocations: 384 / 0.8925 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.00625, allocations: 7.938 kB / 0.8925 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.006555, allocations: 272.4 kB / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.006606, allocations: 35 kB / 0.8928 GB, free: 6.465 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.006617, allocations: 7.688 kB / 0.8928 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.006622, allocations: 0 / 0.8928 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.006733, allocations: 69.03 kB / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.006734, allocations: 0 / 0.8929 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.006914, allocations: 61.77 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.006948, allocations: 51.41 kB / 0.893 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.007046, allocations: 165.9 kB / 0.8932 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.007068, allocations: 29.7 kB / 0.8932 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.007128, allocations: 142.9 kB / 0.8933 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.00714, allocations: 7.938 kB / 0.8933 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.007203, allocations: 35.36 kB / 0.8934 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.007348, allocations: 496.1 kB / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.163e-05/0.007419, allocations: 53.67 kB / 0.8939 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.085e-05/0.00749, allocations: 76.75 kB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.619e-05/0.007576, allocations: 80.72 kB / 0.894 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007578, allocations: 4 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002468/0.007825, allocations: 169 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.007869, allocations: 41.64 kB / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007874, allocations: 0 / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.00789, allocations: 0 / 0.8943 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.036e-05/0.007911, allocations: 4 kB / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007914, allocations: 0 / 0.8943 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.008063, allocations: 24.22 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.008081, allocations: 4 kB / 0.8943 GB, free: 4.82 MB / 0.8542 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.0001028/0.008184, allocations: 168.5 kB / 0.8944 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.0082, allocations: 11.97 kB / 0.8945 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.00824, allocations: 7.984 kB / 0.8945 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.008244, allocations: 4 kB / 0.8945 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.008246, allocations: 4 kB / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008249, allocations: 0 / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.008343, allocations: 101.2 kB / 0.8946 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008345, allocations: 3.938 kB / 0.8946 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-06/0.008353, allocations: 3.984 kB / 0.8946 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.008356, allocations: 0 / 0.8946 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.00836, allocations: 4 kB / 0.8946 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.008363, allocations: 3.938 kB / 0.8946 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008364, allocations: 4 kB / 0.8946 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.008478, allocations: 84.39 kB / 0.8947 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.008486, allocations: 4 kB / 0.8947 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.008497, allocations: 3.984 kB / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.008514, allocations: 3.938 kB / 0.8947 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.008539, allocations: 7.938 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.008543, allocations: 0 / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.008591, allocations: 131.2 kB / 0.8948 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008591, allocations: 0 / 0.8948 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002267/0.008818, allocations: 16 kB / 0.8948 GB, free: 4.195 MB / 0.8542 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.0001484/0.008967, allocations: 103.2 kB / 0.8949 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.009146, allocations: 132.8 kB / 0.895 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009148, allocations: 0 / 0.895 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.009174, allocations: 19.62 kB / 0.8951 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.009396, allocations: 13.98 kB / 0.8951 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.009678, allocations: 134.1 kB / 0.8952 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.009713, allocations: 59.34 kB / 0.8953 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.009737, allocations: 8.438 kB / 0.8953 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.89e-05/0.009826, allocations: 82.19 kB / 0.8954 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.009827, allocations: 0 / 0.8954 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.004028/0.01385, allocations: 1.283 MB / 0.8966 GB, free: 2.309 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.204520494677126]