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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 109.4 kB / 16.46 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.002162/0.002162, 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.462/1.462, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.151/3.151, allocations: 497.2 MB / 0.7811 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 68.03 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3462, allocations: 173.9 MB / 1.304 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002091/0.3483, allocations: 0.6492 MB / 1.305 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3495, allocations: 0.8005 MB / 1.305 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.3495, allocations: 0 / 1.305 GB, free: 112 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.3496, allocations: 3.938 kB / 1.305 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.624e-05/0.3497, allocations: 7.875 kB / 1.305 GB, free: 100 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.3498, allocations: 11.98 kB / 1.305 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.3499, allocations: 15.98 kB / 1.305 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.35, allocations: 8 kB / 1.305 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.35, allocations: 11.97 kB / 1.305 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.3501, allocations: 15.92 kB / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3501, allocations: 3.938 kB / 1.305 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.3501, allocations: 4 kB / 1.305 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.3502, allocations: 8 kB / 1.305 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.3502, allocations: 19.86 kB / 1.305 GB, free: 0 / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.3503, allocations: 27.92 kB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3503, allocations: 0 / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3503, allocations: 0 / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.3503, allocations: 0 / 1.306 GB, free: 15.97 MB / 1.014 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.0005331/0.3509, allocations: 351.4 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3509, allocations: 8.625 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.3509, allocations: 30.75 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.351, allocations: 8.938 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.3512, allocations: 176.3 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3512, allocations: 384 / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3512, allocations: 384 / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.3514, allocations: 58.17 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3514, allocations: 3.938 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3515, allocations: 4 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.3515, allocations: 0 / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.3516, allocations: 35.97 kB / 1.306 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.3521, allocations: 280.9 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3522, allocations: 30.5 kB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.3523, allocations: 20.91 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3523, allocations: 4 kB / 1.306 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3523, allocations: 38.5 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3523, allocations: 0 / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0004251/0.3528, allocations: 77.59 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3528, allocations: 51.41 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.3529, allocations: 113.9 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3529, allocations: 25.7 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.353, allocations: 92.05 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.353, allocations: 3.953 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3531, allocations: 9.719 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3532, allocations: 322.8 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.3533, allocations: 19.92 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.3534, allocations: 15.98 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3535, allocations: 36.81 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3535, allocations: 0 / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001906/0.3537, allocations: 57.67 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3537, allocations: 8 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3537, allocations: 4.094 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3538, allocations: 0 / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.285e-05/0.3539, allocations: 11.92 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3539, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.3539, allocations: 7.984 kB / 1.307 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3539, allocations: 0 / 1.307 GB, free: 13.87 MB / 1.014 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.00011/0.354, allocations: 117.8 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.3541, allocations: 0 / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.3541, allocations: 11.12 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3541, allocations: 4 kB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3541, allocations: 0 / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3541, allocations: 0 / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3543, allocations: 165.5 kB / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3543, allocations: 0 / 1.308 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.3544, allocations: 11.98 kB / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3544, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3544, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3544, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3544, allocations: 0 / 1.308 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3547, allocations: 163.4 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.3547, allocations: 85.06 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3547, allocations: 4 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.3548, allocations: 8.234 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3549, allocations: 0 / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.3549, allocations: 8.031 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.3549, allocations: 79.28 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3549, allocations: 3.938 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00023/0.3552, allocations: 4 kB / 1.308 GB, free: 13.12 MB / 1.014 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.0007948/0.356, allocations: 0.6929 MB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.3562, allocations: 39.89 kB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3562, allocations: 3.938 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.3563, allocations: 11.98 kB / 1.309 GB, free: 12.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.3568, allocations: 10.25 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3586, allocations: 1.226 MB / 1.31 GB, free: 11.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.359, allocations: 0.6807 MB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.91e-05/0.3591, allocations: 7.984 kB / 1.311 GB, free: 10.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.3591, allocations: 7.438 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/0.3591, allocations: 0 / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.3843, allocations: 1.309 MB / 1.312 GB, free: 9.137 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.511, allocations: 2.75 kB / 1.312 GB, free: 9.137 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.188941893633455]