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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 109.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 1.104 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9171, allocations: 168.7 MB / 1.269 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002772/0.9199, allocations: 0.6557 MB / 1.269 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.921, allocations: 0.7962 MB / 1.27 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.891e-05/0.9211, allocations: 4 kB / 1.27 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.9212, allocations: 3.938 kB / 1.27 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.911e-05/0.9212, allocations: 7.938 kB / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.9214, allocations: 0 / 1.27 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.9215, allocations: 23.98 kB / 1.27 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.9216, allocations: 11.98 kB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.9217, allocations: 7.938 kB / 1.27 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.9217, allocations: 15.92 kB / 1.27 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.9217, allocations: 4 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-06/0.9217, allocations: 0 / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.9218, allocations: 19.91 kB / 1.27 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.9219, allocations: 7.938 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.994e-05/0.922, allocations: 27.89 kB / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.922, allocations: 0 / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.922, allocations: 0 / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.922, allocations: 4 kB / 1.27 GB, free: 3.574 MB / 0.9669 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.0006552/0.9226, allocations: 349.5 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.9227, allocations: 12.03 kB / 1.271 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.9227, allocations: 30.75 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.9228, allocations: 0.9375 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.923, allocations: 168.4 kB / 1.271 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.923, allocations: 4.375 kB / 1.271 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.923, allocations: 4.375 kB / 1.271 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.9232, allocations: 62.11 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.9232, allocations: 3.938 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.9232, allocations: 4 kB / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.9232, allocations: 0 / 1.271 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.9234, allocations: 39.95 kB / 1.271 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.9238, allocations: 272.8 kB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.924, allocations: 46.44 kB / 1.271 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.924, allocations: 24.91 kB / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.9241, allocations: 0 / 1.271 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.9241, allocations: 34.55 kB / 1.271 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.9241, allocations: 0 / 1.271 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003277/0.9244, allocations: 73.66 kB / 1.271 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.9245, allocations: 51.41 kB / 1.271 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.9246, allocations: 109.8 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.9246, allocations: 25.7 kB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.9246, allocations: 84.09 kB / 1.272 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.9247, allocations: 7.984 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.9247, allocations: 17.84 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9248, allocations: 314.8 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.9249, allocations: 15.98 kB / 1.272 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.925, allocations: 11.98 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.9251, allocations: 40.81 kB / 1.272 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9251, allocations: 4.062 kB / 1.272 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000167/0.9253, allocations: 61.62 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.9253, allocations: 7.984 kB / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.9253, allocations: 0 / 1.272 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.9253, allocations: 3.938 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.9254, allocations: 8.25 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.9254, allocations: 0 / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.9255, allocations: 16.02 kB / 1.272 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.9255, allocations: 0 / 1.272 GB, free: 1.469 MB / 0.9669 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 8.818e-05/0.9256, allocations: 109.8 kB / 1.272 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.9256, allocations: 4 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.9256, allocations: 11.11 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.9256, allocations: 0 / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.9256, allocations: 0 / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9256, allocations: 3.984 kB / 1.272 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.9258, allocations: 161.6 kB / 1.272 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.9258, allocations: 0 / 1.272 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.9259, allocations: 11.98 kB / 1.272 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.9259, allocations: 0 / 1.272 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.9259, allocations: 3.938 kB / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.9259, allocations: 3.938 kB / 1.272 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9259, allocations: 0 / 1.272 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.9261, allocations: 167.4 kB / 1.273 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.9262, allocations: 77.11 kB / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.9262, allocations: 0 / 1.273 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.9263, allocations: 7.984 kB / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.9263, allocations: 4 kB / 1.273 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.9263, allocations: 4 kB / 1.273 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.9264, allocations: 79.28 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9264, allocations: 0 / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002136/0.9266, allocations: 11.94 kB / 1.273 GB, free: 0.7266 MB / 0.9669 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.0006948/0.9273, allocations: 0.6895 MB / 1.273 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.9275, allocations: 39.94 kB / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9275, allocations: 0 / 1.273 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.426e-05/0.9276, allocations: 15.98 kB / 1.273 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.9279, allocations: 10.05 kB / 1.273 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.9293, allocations: 1.225 MB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.9297, allocations: 0.6846 MB / 1.275 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.9297, allocations: 0 / 1.275 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.9297, allocations: 11.44 kB / 1.275 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.9297, allocations: 0 / 1.275 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.9537, allocations: 1.31 MB / 1.277 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/9.209, allocations: 11.88 kB / 1.277 GB, free: 12.74 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.388737660832703]