Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_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.009658/0.009658, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002332/0.002332, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.551/2.551, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.91 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9325/0.9339, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002499/0.9364, allocations: 0.6478 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.9376, allocations: 0.7884 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.9377, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.9378, allocations: 3.984 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.562e-05/0.9379, allocations: 3.938 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.938, allocations: 8 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.9381, allocations: 23.92 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.9382, allocations: 11.98 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.9383, allocations: 11.94 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.9383, allocations: 11.98 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.9384, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-06/0.9384, allocations: 4 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.9384, allocations: 7.922 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.9385, allocations: 19.92 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.279e-05/0.9386, allocations: 27.84 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.9386, allocations: 3.984 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9386, allocations: 0 / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.9386, allocations: 4 kB / 1.209 GB, free: 11.97 MB / 0.9356 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.0004587/0.9391, allocations: 341.7 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.9391, allocations: 8.031 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.9392, allocations: 34.75 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.9392, allocations: 4.938 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.9394, allocations: 180.2 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.9394, allocations: 384 / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.9394, allocations: 384 / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.9396, allocations: 66.23 kB / 1.209 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.9397, allocations: 7.922 kB / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.9397, allocations: 0 / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9397, allocations: 0 / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.9399, allocations: 31.97 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.9403, allocations: 284.8 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.9404, allocations: 34.56 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.9405, allocations: 16.91 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.9405, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.9406, allocations: 34.56 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.9406, allocations: 3.938 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0003865/0.941, allocations: 85.58 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.941, allocations: 51.41 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.9411, allocations: 101.8 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.9411, allocations: 25.7 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.9412, allocations: 88.05 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.9412, allocations: 0 / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.9413, allocations: 17.83 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9414, allocations: 322.8 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.9415, allocations: 11.98 kB / 1.21 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.9416, allocations: 15.98 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.9417, allocations: 32.81 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.9417, allocations: 8 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002103/0.942, allocations: 65.58 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.942, allocations: 5.562 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.942, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.942, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.9421, allocations: 7.984 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.9421, allocations: 0 / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.9422, allocations: 7.984 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.9422, allocations: 4.031 kB / 1.211 GB, free: 9.875 MB / 0.9356 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 0.000101/0.9423, allocations: 121.7 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.9424, allocations: 0 / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.9424, allocations: 7.125 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9424, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.9424, allocations: 0 / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9424, allocations: 3.984 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.9426, allocations: 157.6 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.9426, allocations: 4 kB / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.9427, allocations: 15.98 kB / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.9427, allocations: 0 / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.9427, allocations: 256 / 1.211 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.9427, allocations: 7.938 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9427, allocations: 0 / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.943, allocations: 159.5 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.9431, allocations: 85.05 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.9431, allocations: 0 / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.9432, allocations: 7.984 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.9432, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.9432, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.9433, allocations: 83.28 kB / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9433, allocations: 0 / 1.211 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002215/0.9435, allocations: 11.84 kB / 1.211 GB, free: 9.129 MB / 0.9356 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.0006154/0.9441, allocations: 0.7007 MB / 1.212 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.9444, allocations: 27.97 kB / 1.212 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9444, allocations: 4.094 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.9445, allocations: 15.98 kB / 1.212 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.9448, allocations: 7 kB / 1.212 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.9464, allocations: 1.233 MB / 1.213 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.9468, allocations: 0.6845 MB / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.41e-05/0.9468, allocations: 4 kB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.9469, allocations: 11.44 kB / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.9469, allocations: 0 / 1.214 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.9676, allocations: 1.324 MB / 1.215 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/8.42, allocations: 8.344 kB / 1.215 GB, free: 5.113 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches