Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007819/0.0007819, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8815/0.8815, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.758/1.758, allocations: 389.1 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.382e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001284/0.001308, allocations: 0.6536 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.002108, allocations: 0.8548 MB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.002154, allocations: 0 / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.299e-05/0.002247, allocations: 3.938 kB / 1.001 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.023e-05/0.002267, allocations: 7.922 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.002442, allocations: 23.86 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.00252, allocations: 39.84 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.979e-05/0.00262, allocations: 4 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.784e-05/0.002677, allocations: 15.98 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.002736, allocations: 15.92 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.002758, allocations: 8 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.002766, allocations: 4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.002822, allocations: 15.97 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.002848, allocations: 8 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.958e-05/0.002938, allocations: 39.86 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00294, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.032e-06/0.002941, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.002945, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003566/0.003301, allocations: 272.5 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.003345, allocations: 12.75 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.003375, allocations: 38.75 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.003399, allocations: 8.891 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.003516, allocations: 113.8 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.003533, allocations: 4.312 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.003542, allocations: 4.375 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.003685, allocations: 58.23 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003692, allocations: 192 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.003699, allocations: 384 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.003705, allocations: 8.125 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.003808, allocations: 51.94 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.00426, allocations: 240.6 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.004351, allocations: 42.48 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.004401, allocations: 32.84 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.004415, allocations: 3.984 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.004433, allocations: 30.56 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.004435, allocations: 0 / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002256/0.004661, allocations: 93.58 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.00469, allocations: 51.41 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.004753, allocations: 113.8 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.004763, allocations: 25.7 kB / 1.002 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.004801, allocations: 84.09 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.004815, allocations: 8.016 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.004842, allocations: 21.7 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.00492, allocations: 315 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.004966, allocations: 19.98 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.005006, allocations: 23.97 kB / 1.003 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.005086, allocations: 36.83 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.00509, allocations: 7.875 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.005203, allocations: 73.66 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.005216, allocations: 8 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.00522, allocations: 0 / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.005235, allocations: 3.984 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.005304, allocations: 4 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.005309, allocations: 4 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.005335, allocations: 11.98 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005339, allocations: 0 / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.561e-05/0.005435, allocations: 113.8 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.463e-05/0.005449, allocations: 8.016 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.005472, allocations: 11.3 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005474, allocations: 3.938 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.005479, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.005483, allocations: 4 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.005599, allocations: 132.7 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.0056, allocations: 0 / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.005632, allocations: 7.984 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.005633, allocations: 0 / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.00564, allocations: 4 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005641, allocations: 4 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005642, allocations: 3.938 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.005782, allocations: 171.4 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-06/0.005788, allocations: 3.984 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-06/0.005797, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.005834, allocations: 4 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.005876, allocations: 11.98 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.005879, allocations: 256 / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.005908, allocations: 91.3 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.005908, allocations: 0 / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001422/0.00605, allocations: 4 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003263/0.006376, allocations: 0.7006 MB / 1.004 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.006505, allocations: 43.95 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006506, allocations: 4.094 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.696e-05/0.006553, allocations: 23.97 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.006752, allocations: 6.25 kB / 1.004 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.007674, allocations: 1.265 MB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/0.00772, allocations: 63.34 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.007753, allocations: 3.984 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.007796, allocations: 16.5 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.007797, allocations: 3.938 kB / 1.006 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.02308, allocations: 2.197 MB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.408/6.431, allocations: 18.34 kB / 1.008 GB, free: 4.84 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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: 10.499159689992666]