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.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: "" <> 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.001027/0.001027, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006877/0.006877, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.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.319/2.319, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7317, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0006469/0.7323, allocations: 376.5 kB / 0.9555 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.7331, allocations: 0.793 MB / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.7332, allocations: 0 / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.063e-05/0.7332, allocations: 0 / 0.9563 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.282e-05/0.7333, allocations: 13.34 kB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.747e-05/0.7333, allocations: 1.188 kB / 0.9563 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.7334, allocations: 25.64 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.113e-05/0.7335, allocations: 2.531 kB / 0.9564 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.7335, allocations: 12 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.7336, allocations: 10.64 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.7336, allocations: 2.031 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.7336, allocations: 1.219 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.7336, allocations: 10.58 kB / 0.9564 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.7337, allocations: 36.39 kB / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.318e-05/0.7337, allocations: 25.72 kB / 0.9565 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.7338, allocations: 0 / 0.9565 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7338, allocations: 3.938 kB / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.7338, allocations: 0 / 0.9565 GB, free: 6.648 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.0002743/0.7341, allocations: 348.1 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.7341, allocations: 8.5 kB / 0.9568 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.391e-05/0.7341, allocations: 35.83 kB / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.615e-05/0.7341, allocations: 3.562 kB / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.022e-05/0.7342, allocations: 175 kB / 0.957 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.7342, allocations: 1.594 kB / 0.957 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.7343, allocations: 1.562 kB / 0.957 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.7344, allocations: 69.52 kB / 0.9571 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.7344, allocations: 9.312 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.7344, allocations: 0 / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.7344, allocations: 0 / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.7346, allocations: 51.58 kB / 0.9571 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.7349, allocations: 273.5 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.815e-05/0.735, allocations: 45.05 kB / 0.9574 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.7351, allocations: 26.62 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.7351, allocations: 1.031 kB / 0.9575 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.043e-05/0.7351, allocations: 31.53 kB / 0.9575 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.7351, allocations: 4 kB / 0.9575 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002976/0.7354, allocations: 95.33 kB / 0.9576 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/0.7355, allocations: 56.62 kB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.7355, allocations: 108.3 kB / 0.9577 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.7355, allocations: 25.7 kB / 0.9578 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.7355, allocations: 85.98 kB / 0.9578 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.7356, allocations: 5.125 kB / 0.9579 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.7356, allocations: 9.719 kB / 0.9579 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.7356, allocations: 316 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.7357, allocations: 29.12 kB / 0.9582 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.868e-05/0.7358, allocations: 18.08 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.7359, allocations: 48.42 kB / 0.9583 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7359, allocations: 3.938 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001741/0.7361, allocations: 75.69 kB / 0.9583 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.7361, allocations: 4.625 kB / 0.9583 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.7361, allocations: 4.031 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.7362, allocations: 1.281 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.7362, allocations: 10.98 kB / 0.9584 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.7362, allocations: 0 / 0.9584 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.294e-05/0.7363, allocations: 5.875 kB / 0.9584 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.7363, allocations: 1.156 kB / 0.9584 GB, free: 4.762 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.29e-05/0.7364, allocations: 120.8 kB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.7364, allocations: 4 kB / 0.9585 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.7364, allocations: 4.531 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.7364, allocations: 0 / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.7364, allocations: 1.125 kB / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7364, allocations: 0 / 0.9585 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.7365, allocations: 163.3 kB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7365, allocations: 1.25 kB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.7366, allocations: 7.125 kB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7366, allocations: 0 / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.7366, allocations: 5.562 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7366, allocations: 0 / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7366, allocations: 7.922 kB / 0.9587 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.7368, allocations: 174.9 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.7368, allocations: 81.02 kB / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.7369, allocations: 5.484 kB / 0.9589 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.7369, allocations: 6.625 kB / 0.9589 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.737, allocations: 3.984 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.737, allocations: 1.844 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.029e-05/0.737, allocations: 79.31 kB / 0.959 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.737, allocations: 0 / 0.959 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002001/0.7372, allocations: 11.53 kB / 0.959 GB, free: 4.07 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.0003295/0.7375, allocations: 0.7025 MB / 0.9597 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.7377, allocations: 46.98 kB / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.7377, allocations: 1.375 kB / 0.9597 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-05/0.7378, allocations: 25.8 kB / 0.9598 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.7381, allocations: 4.438 kB / 0.9598 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/0.7391, allocations: 1.263 MB / 0.961 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.325e-05/0.7392, allocations: 0.6831 MB / 0.9617 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.58e-05/0.7392, allocations: 5.609 kB / 0.9617 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.7392, allocations: 12.69 kB / 0.9617 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.7392, allocations: 0 / 0.9617 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.7686, allocations: 1.036 MB / 0.9627 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.7689, allocations: 219 kB / 0.9629 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.406, allocations: 0 / 0.9629 GB, free: 0.6875 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