Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 71.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.6313, allocations: 140.4 MB / 0.9497 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001842/0.6332, allocations: 0.6443 MB / 0.9504 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.6339, allocations: 0.7925 MB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.634, allocations: 1.375 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.799e-05/0.6341, allocations: 0 / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.788e-05/0.6341, allocations: 7.922 kB / 0.9511 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.144e-05/0.6342, allocations: 14.73 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.816e-05/0.6343, allocations: 25.55 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.6344, allocations: 2.75 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.6344, allocations: 12.11 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.6345, allocations: 10.69 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.6345, allocations: 2.75 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.6345, allocations: 2.75 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.6345, allocations: 6.734 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.6346, allocations: 13.25 kB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.925e-05/0.6346, allocations: 34.75 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.6347, allocations: 4 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6347, allocations: 0 / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6347, allocations: 1.375 kB / 0.9513 GB, free: 7.922 MB / 0.7169 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.0003351/0.635, allocations: 340.8 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.6351, allocations: 9.625 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.6351, allocations: 30.75 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.6351, allocations: 7.594 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.6352, allocations: 175.1 kB / 0.9518 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.6352, allocations: 9.688 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.6353, allocations: 1.562 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.6354, allocations: 57.27 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.6354, allocations: 3.938 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.6355, allocations: 0 / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.6355, allocations: 1.406 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.6356, allocations: 36.83 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.636, allocations: 280.8 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.6361, allocations: 36.7 kB / 0.9522 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.978e-05/0.6362, allocations: 18.34 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.6362, allocations: 0 / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.6362, allocations: 34.56 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.6362, allocations: 1.281 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003293/0.6366, allocations: 81.61 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.6366, allocations: 51.41 kB / 0.9524 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.141e-05/0.6367, allocations: 95.55 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.6367, allocations: 35.39 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.771e-05/0.6367, allocations: 85.41 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.6367, allocations: 7.844 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.6368, allocations: 16.5 kB / 0.9526 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.836e-05/0.6368, allocations: 318.8 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.543e-05/0.6369, allocations: 12.36 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.637, allocations: 25.12 kB / 0.953 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.6371, allocations: 34.48 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6371, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001732/0.6373, allocations: 66.75 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6373, allocations: 4.344 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6373, allocations: 1.094 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6374, allocations: 4.031 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.6374, allocations: 9.391 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6375, allocations: 0 / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.6375, allocations: 8.219 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.6375, allocations: 0 / 0.9531 GB, free: 6.043 MB / 0.7169 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 4.919e-05/0.6376, allocations: 120.5 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.6376, allocations: 1.312 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.566e-05/0.6376, allocations: 3.125 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6376, allocations: 5.438 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6376, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6376, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.6377, allocations: 164.1 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6378, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.6378, allocations: 5.688 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6378, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.6378, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.6378, allocations: 1.125 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6378, allocations: 0 / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.638, allocations: 177.5 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.6381, allocations: 77.11 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.6381, allocations: 5.672 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.6381, allocations: 2.406 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.6382, allocations: 1.312 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.6382, allocations: 0 / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.6382, allocations: 91.7 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6382, allocations: 0 / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002116/0.6384, allocations: 8.438 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000359/0.6388, allocations: 0.6921 MB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.639, allocations: 34.61 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.639, allocations: 1.312 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.685e-05/0.6391, allocations: 25.55 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.6394, allocations: 5.188 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6405, allocations: 1.227 MB / 0.9557 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.6406, allocations: 0.6824 MB / 0.9563 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.6406, allocations: 1.688 kB / 0.9563 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.6407, allocations: 13.02 kB / 0.9563 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6407, allocations: 4.031 kB / 0.9563 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.658, allocations: 1.261 MB / 0.9576 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.96, allocations: 13.88 kB / 0.9576 GB, free: 1.992 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches