Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.1.0-maint.11.x/package.mo", uses=false) 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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 115.4 kB / 16.81 MB, free: 5.766 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.001281/0.001281, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.451/1.451, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.916/2.916, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 68.44 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5098, allocations: 168.7 MB / 1.262 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002456/0.5123, allocations: 0.6464 MB / 1.263 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.5135, allocations: 0.7849 MB / 1.263 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.5136, allocations: 7.938 kB / 1.263 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.5137, allocations: 3.938 kB / 1.263 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.989e-05/0.5138, allocations: 3.938 kB / 1.263 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.5139, allocations: 11.98 kB / 1.263 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.514, allocations: 27.91 kB / 1.264 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.5141, allocations: 8 kB / 1.264 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.5142, allocations: 7.984 kB / 1.264 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.5142, allocations: 11.94 kB / 1.264 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.5143, allocations: 7.938 kB / 1.264 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.5143, allocations: 0 / 1.264 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.5143, allocations: 11.98 kB / 1.264 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.5144, allocations: 11.88 kB / 1.264 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.5145, allocations: 35.81 kB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5145, allocations: 0 / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5145, allocations: 4 kB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.5145, allocations: 0 / 1.264 GB, free: 11.42 MB / 0.9825 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.0005521/0.5151, allocations: 347.4 kB / 1.264 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.5151, allocations: 8.031 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.5152, allocations: 4.938 kB / 1.264 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.5154, allocations: 172.3 kB / 1.264 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5154, allocations: 384 / 1.264 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.5154, allocations: 8.312 kB / 1.264 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.5156, allocations: 58.23 kB / 1.264 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5156, allocations: 192 / 1.264 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.5156, allocations: 3.938 kB / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5156, allocations: 0 / 1.264 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5158, allocations: 35.95 kB / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.5163, allocations: 284.8 kB / 1.264 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.5164, allocations: 34.55 kB / 1.265 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.5165, allocations: 16.91 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.5165, allocations: 0 / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.5166, allocations: 30.56 kB / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.5166, allocations: 0 / 1.265 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003803/0.517, allocations: 85.58 kB / 1.265 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.517, allocations: 55.41 kB / 1.265 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.5171, allocations: 97.86 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.5171, allocations: 25.7 kB / 1.265 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.5172, allocations: 92.08 kB / 1.265 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.5172, allocations: 0 / 1.265 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.5173, allocations: 17.84 kB / 1.265 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.5174, allocations: 314.8 kB / 1.265 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.5175, allocations: 15.92 kB / 1.265 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.5176, allocations: 19.97 kB / 1.265 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5178, allocations: 36.77 kB / 1.265 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5178, allocations: 4.062 kB / 1.265 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002112/0.518, allocations: 65.55 kB / 1.265 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.518, allocations: 8 kB / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.518, allocations: 0 / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.518, allocations: 0 / 1.265 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.5181, allocations: 15.92 kB / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5181, allocations: 0 / 1.265 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.5182, allocations: 8.281 kB / 1.265 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.5182, allocations: 4 kB / 1.265 GB, free: 9.359 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001108/0.5183, allocations: 118.6 kB / 1.265 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.5183, allocations: 0 / 1.265 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.5184, allocations: 3.125 kB / 1.266 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5184, allocations: 0 / 1.266 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5184, allocations: 4 kB / 1.266 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.5184, allocations: 77.11 kB / 1.266 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.5184, allocations: 4 kB / 1.266 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.5185, allocations: 11.98 kB / 1.266 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.5186, allocations: 3.938 kB / 1.266 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002988/0.5189, allocations: 144.9 kB / 1.266 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003233/0.5192, allocations: 230.8 kB / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.431e-05/0.5193, allocations: 19.97 kB / 1.266 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.5193, allocations: 83.27 kB / 1.266 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of Backend: time 5.21e-07/0.5193, allocations: 0 / 1.266 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.5198, allocations: 96.27 kB / 1.266 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0007914/0.5206, allocations: 0.5842 MB / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.003621/0.5242, allocations: 0.4947 MB / 1.267 GB, free: 7.398 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches