Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_10_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.007535/0.007535, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001917/0.001918, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.604/2.604, allocations: 437.1 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3323, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001955/0.3343, allocations: 0.6387 MB / 1.167 GB, free: 6.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3354, allocations: 0.7927 MB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.3355, allocations: 0 / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3356, allocations: 3.938 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.974e-05/0.3356, allocations: 11.88 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.3358, allocations: 11.92 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.328e-05/0.3359, allocations: 23.92 kB / 1.168 GB, free: 5.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.336, allocations: 12 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.336, allocations: 7.984 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.3361, allocations: 11.94 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3361, allocations: 3.984 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.3361, allocations: 4 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.3362, allocations: 7.984 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.3362, allocations: 11.94 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.479e-05/0.3363, allocations: 31.89 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3364, allocations: 3.938 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3364, allocations: 0 / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3364, allocations: 4 kB / 1.168 GB, free: 5.707 MB / 0.92 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.0004336/0.3368, allocations: 346.3 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3369, allocations: 8.031 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.3369, allocations: 30.75 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.3369, allocations: 8.922 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3371, allocations: 168.9 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.3371, allocations: 8.312 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3371, allocations: 384 / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3373, allocations: 58.23 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3373, allocations: 3.938 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3374, allocations: 0 / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3374, allocations: 0 / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.3375, allocations: 39.95 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.3379, allocations: 281.1 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.338, allocations: 34.55 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.243e-05/0.3381, allocations: 20.91 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.3381, allocations: 0 / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3382, allocations: 34.56 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3382, allocations: 0 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003251/0.3385, allocations: 81.58 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.3385, allocations: 51.41 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.3386, allocations: 102 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3386, allocations: 25.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.3387, allocations: 92.05 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3387, allocations: 0 / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.3387, allocations: 13.84 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3389, allocations: 318.8 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.3389, allocations: 19.97 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.339, allocations: 19.98 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3391, allocations: 36.83 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3391, allocations: 4 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001648/0.3393, allocations: 69.5 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3393, allocations: 8 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3394, allocations: 0 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3394, allocations: 3.984 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.064e-05/0.3395, allocations: 7.984 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3395, allocations: 3.984 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.068e-05/0.3395, allocations: 8.031 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3395, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 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.978e-05/0.3396, allocations: 117.8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.3396, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.3397, allocations: 7.125 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3397, allocations: 4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3397, allocations: 0 / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3397, allocations: 0 / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.3398, allocations: 165.6 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3399, allocations: 4 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.3399, allocations: 8 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3399, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3399, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3399, allocations: 0 / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3399, allocations: 3.984 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.3402, allocations: 159.4 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.3402, allocations: 85.09 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3402, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.3403, allocations: 4 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.3403, allocations: 4 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.3403, allocations: 3.984 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.3404, allocations: 83.28 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3404, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002132/0.3406, allocations: 7.906 kB / 1.17 GB, free: 2.867 MB / 0.92 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.0004988/0.3411, allocations: 0.6968 MB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.3413, allocations: 39.98 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3413, allocations: 0 / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.3414, allocations: 11.98 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3418, allocations: 11.94 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.3433, allocations: 1.225 MB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3436, allocations: 0.6768 MB / 1.173 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.3436, allocations: 7.984 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3437, allocations: 11.44 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3437, allocations: 0 / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.3628, allocations: 1.3 MB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.795, allocations: 4.797 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches