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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004152/0.004152, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001192/0.001192, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.651/2.651, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 68.11 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001548/0.2578, allocations: 0.6503 MB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007903/0.2586, allocations: 0.7902 MB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.2586, allocations: 0 / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.367e-05/0.2587, allocations: 4 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.659e-05/0.2587, allocations: 3.938 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.194e-05/0.2588, allocations: 7.984 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.345e-05/0.2589, allocations: 31.92 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.259, allocations: 0 / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.259, allocations: 15.92 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.2591, allocations: 7.984 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.2591, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-06/0.2591, allocations: 3.938 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.2591, allocations: 8 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.2592, allocations: 19.91 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.738e-05/0.2592, allocations: 23.91 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.2593, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2593, allocations: 4 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2593, allocations: 0 / 1.222 GB, free: 12.7 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.0004098/0.2597, allocations: 347.3 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2597, allocations: 16.02 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.2598, allocations: 34.75 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.588e-05/0.2598, allocations: 0.9375 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2599, allocations: 172.3 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.2599, allocations: 4.359 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.26, allocations: 8.375 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2601, allocations: 54.23 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2601, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.2601, allocations: 4 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.2602, allocations: 0 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.2603, allocations: 35.91 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.2607, allocations: 288.7 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2608, allocations: 26.56 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.2609, allocations: 24.91 kB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2609, allocations: 0 / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.2609, allocations: 34.5 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2609, allocations: 4 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003047/0.2612, allocations: 77.58 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2613, allocations: 51.41 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.264e-05/0.2614, allocations: 105.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2614, allocations: 25.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.2614, allocations: 88.09 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.2615, allocations: 4.125 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.2615, allocations: 13.72 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2616, allocations: 318.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.2617, allocations: 15.98 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.2618, allocations: 11.98 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.2619, allocations: 40.89 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2619, allocations: 3.938 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001805/0.2621, allocations: 65.61 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2621, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.2622, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2622, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.2622, allocations: 7.984 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2623, allocations: 4.031 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.2623, allocations: 7.984 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.2623, allocations: 0 / 1.224 GB, free: 10.59 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 7.028e-05/0.2624, allocations: 113.8 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.2624, allocations: 4.25 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.084e-05/0.2624, allocations: 3.125 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.2624, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2624, allocations: 4 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-06/0.2625, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.2626, allocations: 169.6 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2626, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.2627, allocations: 11.92 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2627, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.2627, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.2627, allocations: 3.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2627, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.2629, allocations: 163.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.263, allocations: 77.11 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.263, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.2631, allocations: 4 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.2631, allocations: 3.984 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2631, allocations: 7.984 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.2632, allocations: 83.28 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2632, allocations: 3.938 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001999/0.2634, allocations: 11.98 kB / 1.224 GB, free: 9.844 MB / 0.9825 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.0005179/0.2639, allocations: 0.6895 MB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2641, allocations: 35.98 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.2641, allocations: 0 / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.2642, allocations: 19.98 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.2644, allocations: 1.891 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.2657, allocations: 1.233 MB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2659, allocations: 0.6806 MB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.266, allocations: 7.984 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.266, allocations: 7.438 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.266, allocations: 0 / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.523/1.789, allocations: 1.304 MB / 1.228 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/12.19, allocations: 4.438 kB / 1.228 GB, free: 5.863 MB / 0.9825 GB (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 --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) 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