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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=5000,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=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_10_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.008126/0.008126, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001594/0.001595, allocations: 189 kB / 16.68 MB, free: 6.367 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.834/2.834, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 67.91 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3288, allocations: 151.6 MB / 1.167 GB, free: 6.961 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001804/0.3306, allocations: 0.6295 MB / 1.167 GB, free: 6.328 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.332, allocations: 1.117 MB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.3321, allocations: 0 / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3322, allocations: 3.938 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.439e-05/0.3323, allocations: 11.94 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.3327, allocations: 123.7 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.3329, allocations: 91.88 kB / 1.169 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.333, allocations: 7.984 kB / 1.169 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.333, allocations: 39.92 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.99e-05/0.3331, allocations: 35.88 kB / 1.169 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.3332, allocations: 8 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.3333, allocations: 23.92 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.3333, allocations: 7.938 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.3334, allocations: 35.91 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.3335, allocations: 87.72 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3335, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3336, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3336, allocations: 0 / 1.169 GB, free: 4.727 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.0005134/0.3341, allocations: 385.1 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.3341, allocations: 8.031 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.3342, allocations: 12.88 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.3344, allocations: 180.3 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3344, allocations: 384 / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3344, allocations: 12.31 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3345, allocations: 54.17 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3345, allocations: 192 / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3345, allocations: 3.938 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3346, allocations: 4 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.3346, allocations: 12 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.335, allocations: 304.7 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.335, allocations: 30.5 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.3351, allocations: 12.91 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.3351, allocations: 0 / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.3352, allocations: 59.41 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3352, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001907/0.3354, allocations: 69.56 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3355, allocations: 51.41 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.3355, allocations: 109.8 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.3356, allocations: 29.7 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.3356, allocations: 88.14 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.3356, allocations: 3.953 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.3357, allocations: 33.7 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3358, allocations: 322.8 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.3359, allocations: 27.98 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.336, allocations: 46.56 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.814e-05/0.3361, allocations: 84.2 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3361, allocations: 0 / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002261/0.3363, allocations: 147.2 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.3364, allocations: 37.69 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3364, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3364, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.62e-05/0.3364, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3364, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.3366, allocations: 28.06 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3366, allocations: 8 kB / 1.171 GB, free: 2.332 MB / 0.92 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.537e-05/0.3367, allocations: 129.7 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.3368, allocations: 0 / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.3368, allocations: 3.906 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3368, allocations: 4 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3368, allocations: 3.938 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3368, allocations: 0 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.337, allocations: 169.5 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.337, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-06/0.337, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.337, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.337, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.337, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.337, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.221e-05/0.3371, allocations: 89 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.3372, allocations: 77.39 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3372, allocations: 4 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.3372, allocations: 12.25 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.3372, allocations: 3.984 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3372, allocations: 4 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.22e-05/0.3373, allocations: 83.27 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3373, allocations: 4 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001957/0.3375, allocations: 16 kB / 1.171 GB, free: 1.633 MB / 0.92 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.0001529/0.3376, allocations: 107.2 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.3379, allocations: 123.3 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3379, allocations: 0 / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.3379, allocations: 15.94 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.3381, allocations: 8 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.3384, allocations: 139.5 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3387, allocations: 0.6807 MB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.3388, allocations: 0 / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.3388, allocations: 15.62 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.3388, allocations: 0 / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of Templates: time 0.003312/0.3421, allocations: 1.05 MB / 1.174 GB, free: 15.45 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) 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) Reference file matches