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.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.001511/0.001511, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001624/0.001624, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.541/1.541, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002852/0.002852, allocations: 64.08 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257/1.26, allocations: 168.7 MB / 1.272 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002035/1.262, allocations: 0.625 MB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001736/1.264, allocations: 1.127 MB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/1.264, allocations: 0.5625 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/1.264, allocations: 1.797 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.024e-05/1.264, allocations: 5.281 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/1.265, allocations: 133 kB / 1.274 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002056/1.265, allocations: 83.83 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/1.265, allocations: 6.094 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/1.265, allocations: 47.52 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/1.265, allocations: 37.84 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/1.265, allocations: 8.281 kB / 1.274 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/1.265, allocations: 19.48 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/1.265, allocations: 5.297 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/1.266, allocations: 37.02 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/1.266, allocations: 84.8 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.266, allocations: 1.531 kB / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.266, allocations: 0 / 1.274 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.266, allocations: 0 / 1.274 GB, free: 6.48 MB / 0.9981 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.0005308/1.266, allocations: 392.3 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.266, allocations: 9.781 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.062e-05/1.266, allocations: 8.453 kB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/1.267, allocations: 185.4 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/1.267, allocations: 3.531 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/1.267, allocations: 5.25 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/1.267, allocations: 50.39 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/1.267, allocations: 1.281 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/1.267, allocations: 3.938 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.267, allocations: 0.9688 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/1.267, allocations: 15.8 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/1.267, allocations: 302.1 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/1.267, allocations: 25.42 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/1.267, allocations: 7.047 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/1.267, allocations: 0.9375 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/1.268, allocations: 65.95 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/1.268, allocations: 1 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002207/1.268, allocations: 66.11 kB / 1.275 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/1.268, allocations: 53.05 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/1.268, allocations: 105.4 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.268, allocations: 29.11 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/1.268, allocations: 90.84 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/1.268, allocations: 6.953 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/1.268, allocations: 34.95 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/1.268, allocations: 320.6 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/1.268, allocations: 27.52 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/1.268, allocations: 49.3 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/1.268, allocations: 79.16 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.268, allocations: 4 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002555/1.269, allocations: 149.8 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/1.269, allocations: 34.09 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.269, allocations: 4.531 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/1.269, allocations: 1.625 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.007e-05/1.269, allocations: 1.641 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.269, allocations: 1.656 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/1.269, allocations: 32.05 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.269, allocations: 5.562 kB / 1.276 GB, free: 4.492 MB / 0.9981 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 7.862e-05/1.269, allocations: 117.5 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/1.269, allocations: 9.453 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/1.269, allocations: 9.484 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.269, allocations: 1.172 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.269, allocations: 1.172 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.269, allocations: 4.859 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/1.269, allocations: 163.8 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.269, allocations: 4 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-06/1.269, allocations: 5.031 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.269, allocations: 0.8438 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/1.269, allocations: 2.828 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.269, allocations: 0 / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.269, allocations: 0 / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.532e-05/1.269, allocations: 80.22 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/1.269, allocations: 79.31 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.269, allocations: 1.5 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/1.269, allocations: 12 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/1.269, allocations: 2.906 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/1.269, allocations: 2.688 kB / 1.277 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.13e-05/1.269, allocations: 84.78 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.269, allocations: 0.8125 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002231/1.27, allocations: 23.69 kB / 1.277 GB, free: 3.879 MB / 0.9981 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.00018/1.27, allocations: 105.6 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002363/1.27, allocations: 113.1 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.27, allocations: 0 / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/1.27, allocations: 11.73 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/1.27, allocations: 12.53 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/1.271, allocations: 135.8 kB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/1.271, allocations: 0.6836 MB / 1.278 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.299e-05/1.271, allocations: 6.688 kB / 1.278 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/1.271, allocations: 13.5 kB / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.271, allocations: 0 / 1.278 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of Templates: time 0.005137/1.276, allocations: 1.064 MB / 1.279 GB, free: 2.738 MB / 0.9981 GB " [Timeout remaining time 299] 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: 9.72290076687932]