Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 191.3 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.08, allocations: 160.8 MB / 1.218 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002186/1.083, allocations: 0.6404 MB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00202/1.085, allocations: 1.121 MB / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/1.085, allocations: 3.938 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/1.085, allocations: 8.953 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/1.085, allocations: 5.125 kB / 1.22 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/1.085, allocations: 125.6 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/1.086, allocations: 97.59 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/1.086, allocations: 6.094 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.077e-05/1.086, allocations: 37.09 kB / 1.22 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/1.086, allocations: 36.8 kB / 1.22 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/1.086, allocations: 7.656 kB / 1.22 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/1.086, allocations: 22.11 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/1.086, allocations: 11.77 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/1.086, allocations: 34.25 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/1.086, allocations: 85.19 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.086, allocations: 1.062 kB / 1.221 GB, free: 1.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/1.086, allocations: 4 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.086, allocations: 0 / 1.221 GB, free: 1.957 MB / 0.92 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.0005772/1.087, allocations: 384 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.087, allocations: 9.719 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/1.087, allocations: 9.703 kB / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/1.087, allocations: 181.8 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.087, allocations: 3.406 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/1.087, allocations: 5.562 kB / 1.221 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/1.088, allocations: 42.97 kB / 1.221 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.088, allocations: 4.188 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/1.088, allocations: 9 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.088, allocations: 5.266 kB / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/1.088, allocations: 5.656 kB / 1.221 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/1.088, allocations: 311.5 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/1.088, allocations: 18.27 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/1.088, allocations: 14.19 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/1.088, allocations: 7.984 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/1.088, allocations: 57.91 kB / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.088, allocations: 0 / 1.222 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002223/1.089, allocations: 63.22 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/1.089, allocations: 56.47 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/1.089, allocations: 106.2 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/1.089, allocations: 27.89 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/1.089, allocations: 91.45 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/1.089, allocations: 8.984 kB / 1.222 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/1.089, allocations: 29.73 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.089, allocations: 320.9 kB / 1.222 GB, free: 156 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/1.089, allocations: 34.36 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/1.089, allocations: 47.47 kB / 1.222 GB, free: 96 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/1.089, allocations: 84.36 kB / 1.222 GB, free: 16 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/1.089, allocations: 5.062 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002977/1.09, allocations: 146.9 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/1.09, allocations: 36.88 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.09, allocations: 1.25 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.09, allocations: 1.344 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/1.09, allocations: 5.156 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.09, allocations: 1.344 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/1.09, allocations: 28.28 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/1.09, allocations: 8.781 kB / 1.223 GB, free: 15.85 MB / 0.9356 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.0001413/1.09, allocations: 122.8 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/1.09, allocations: 1.219 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/1.09, allocations: 9.094 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.09, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.09, allocations: 1.281 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.09, allocations: 4 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.09, allocations: 169.4 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.09, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/1.09, allocations: 1.688 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.09, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.09, allocations: 1.594 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.09, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.09, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/1.091, allocations: 94.75 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/1.091, allocations: 78.2 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/1.091, allocations: 1.094 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.331e-05/1.091, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/1.091, allocations: 1.312 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/1.091, allocations: 5.594 kB / 1.223 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.375e-05/1.091, allocations: 84.45 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.091, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002143/1.091, allocations: 18.94 kB / 1.223 GB, free: 15.23 MB / 0.9356 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.000218/1.091, allocations: 113.9 kB / 1.223 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002398/1.091, allocations: 116 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.091, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/1.092, allocations: 10.11 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/1.092, allocations: 14.84 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/1.092, allocations: 132.2 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/1.093, allocations: 0.6841 MB / 1.224 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.009e-05/1.093, allocations: 3.094 kB / 1.224 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/1.093, allocations: 8.531 kB / 1.224 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/1.093, allocations: 1 kB / 1.224 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.004835/1.097, allocations: 1.065 MB / 1.225 GB, free: 13.63 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.361774906516075]