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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001369/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0016/0.0016, allocations: 194.3 kB / 16.14 MB, free: 6.691 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.97 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3276, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001889/0.3295, allocations: 0.6805 MB / 1.053 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.3309, allocations: 1.139 MB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.331, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.3311, allocations: 4 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.3311, allocations: 3.938 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.3316, allocations: 107 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3317, allocations: 83.77 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.3318, allocations: 11.97 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.3318, allocations: 27.98 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.3319, allocations: 23.91 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.332, allocations: 8 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.332, allocations: 15.98 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.3321, allocations: 11.97 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.976e-05/0.3322, allocations: 27.92 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3323, allocations: 83.78 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3324, allocations: 3.938 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3324, allocations: 3.938 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.3324, allocations: 0 / 1.054 GB, free: 6.586 MB / 0.8106 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.0006054/0.333, allocations: 389.3 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.333, allocations: 8.031 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3331, allocations: 12.88 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.3333, allocations: 180.4 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3333, allocations: 384 / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.3334, allocations: 12.36 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.3335, allocations: 46.25 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3335, allocations: 192 / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3335, allocations: 3.938 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3335, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.3336, allocations: 12 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.3339, allocations: 316.6 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.334, allocations: 22.56 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.334, allocations: 12.92 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.334, allocations: 0 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.3342, allocations: 67.33 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3342, allocations: 0 / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002405/0.3344, allocations: 53.69 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.3345, allocations: 51.41 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.3345, allocations: 113.8 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.3346, allocations: 29.7 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.3346, allocations: 88.14 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.3347, allocations: 7.891 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.3347, allocations: 33.69 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3349, allocations: 318.8 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3349, allocations: 31.98 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.335, allocations: 46.5 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.3351, allocations: 80.5 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3351, allocations: 3.938 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002448/0.3354, allocations: 147.3 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/0.3354, allocations: 41.69 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3354, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3355, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.707e-05/0.3355, allocations: 7.938 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3355, allocations: 0 / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3357, allocations: 27.88 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3357, allocations: 7.984 kB / 1.056 GB, free: 4.188 MB / 0.8106 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.0001034/0.3359, allocations: 125.9 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.3359, allocations: 0 / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.3359, allocations: 3.906 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3359, allocations: 7.938 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.3359, allocations: 3.984 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3359, allocations: 0 / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.3361, allocations: 165.6 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3361, allocations: 320 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.3361, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3361, allocations: 8 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3361, allocations: 3.984 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3361, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3361, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.3362, allocations: 85 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.3363, allocations: 81.02 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3363, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.588e-05/0.3363, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.3364, allocations: 7.984 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3364, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.3364, allocations: 83.28 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3364, allocations: 4 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002094/0.3366, allocations: 12 kB / 1.057 GB, free: 3.504 MB / 0.8106 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.0001633/0.3368, allocations: 107.2 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.337, allocations: 127.2 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.337, allocations: 192 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.3371, allocations: 16 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.3373, allocations: 11.92 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.3376, allocations: 131.8 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3379, allocations: 0.677 MB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.353e-05/0.3379, allocations: 11.98 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.3379, allocations: 7.438 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3379, allocations: 4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of Templates: time 0.003758/0.3417, allocations: 1.011 MB / 1.059 GB, free: 1.355 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches