Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 117.2 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 193.2 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.53 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3213, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.00201/0.3233, allocations: 0.6266 MB / 0.9518 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3248, allocations: 1.111 MB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3248, allocations: 0 / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.194e-05/0.3249, allocations: 7.922 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.828e-05/0.325, allocations: 3.938 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.3254, allocations: 119.7 kB / 0.953 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.3256, allocations: 107.8 kB / 0.9531 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.3257, allocations: 4 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.3258, allocations: 31.97 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3259, allocations: 39.88 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3259, allocations: 8 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.326, allocations: 23.98 kB / 0.9532 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.3261, allocations: 4 kB / 0.9532 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.301e-05/0.3262, allocations: 39.84 kB / 0.9532 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.3263, allocations: 83.72 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3263, allocations: 4 kB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3263, allocations: 0 / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3263, allocations: 0 / 0.9533 GB, free: 5.84 MB / 0.7325 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.0004767/0.3268, allocations: 386.1 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.3269, allocations: 8.031 kB / 0.9537 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.3269, allocations: 16.84 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3271, allocations: 184.4 kB / 0.9539 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3272, allocations: 4.375 kB / 0.9539 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3272, allocations: 4.375 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.3273, allocations: 42.25 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3273, allocations: 192 / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3273, allocations: 7.938 kB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3273, allocations: 0 / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.3274, allocations: 15.92 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.3278, allocations: 316.7 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.3278, allocations: 14.58 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.3278, allocations: 16.86 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.3279, allocations: 0 / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001306/0.328, allocations: 59.39 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.328, allocations: 0 / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001742/0.3282, allocations: 65.67 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3282, allocations: 51.41 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.3283, allocations: 113.7 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3283, allocations: 29.7 kB / 0.9546 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.3284, allocations: 88.14 kB / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.3284, allocations: 7.844 kB / 0.9547 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.3285, allocations: 29.7 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3286, allocations: 326.8 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.3287, allocations: 27.98 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.3288, allocations: 42.56 kB / 0.9551 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.871e-05/0.3289, allocations: 88.2 kB / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3289, allocations: 0 / 0.9552 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002303/0.3291, allocations: 139.4 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.3292, allocations: 41.69 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3292, allocations: 0 / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3292, allocations: 4 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.49e-05/0.3292, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3292, allocations: 0 / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3294, allocations: 23.97 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3294, allocations: 4 kB / 0.9554 GB, free: 3.457 MB / 0.7325 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.341e-05/0.3295, allocations: 131.7 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.3295, allocations: 4.219 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.3296, allocations: 12.14 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3296, allocations: 0 / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3296, allocations: 7.984 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3296, allocations: 3.938 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3297, allocations: 165.6 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3297, allocations: 0 / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.3297, allocations: 0 / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.3298, allocations: 0 / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3298, allocations: 0 / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3298, allocations: 11.94 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3298, allocations: 0 / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.364e-05/0.3299, allocations: 77.06 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.3299, allocations: 85 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3299, allocations: 4 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/0.33, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.33, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.33, allocations: 4 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.542e-05/0.33, allocations: 91.27 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.905e-06/0.3301, allocations: 0 / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002028/0.3303, allocations: 15.94 kB / 0.9559 GB, free: 2.754 MB / 0.7325 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.0001269/0.3304, allocations: 107.2 kB / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3306, allocations: 119.2 kB / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3306, allocations: 0 / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.3306, allocations: 15.98 kB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.3308, allocations: 14.05 kB / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.3311, allocations: 142 kB / 0.9563 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3314, allocations: 0.6805 MB / 0.957 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.922e-05/0.3314, allocations: 4 kB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.3314, allocations: 7.438 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.3315, allocations: 0 / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of Templates: time 0.003334/0.3348, allocations: 1.06 MB / 0.958 GB, free: 0.5547 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches