Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008108/0.0008108, 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.001295/0.001295, allocations: 170.3 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.8649/0.8649, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.626/1.626, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.169e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001323/0.001345, allocations: 0.6651 MB / 0.9511 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008833/0.002228, allocations: 0.8509 MB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.00227, allocations: 3.938 kB / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.558e-05/0.002356, allocations: 0 / 0.952 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 1.874e-05/0.002374, allocations: 7.938 kB / 0.952 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.002528, allocations: 23.92 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.0026, allocations: 31.91 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.002694, allocations: 15.92 kB / 0.9521 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.002749, allocations: 15.98 kB / 0.9521 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.002807, allocations: 11.98 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.002837, allocations: 4 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-06/0.002847, allocations: 0 / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.002908, allocations: 15.92 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.002938, allocations: 11.98 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.003044, allocations: 43.8 kB / 0.9522 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003047, allocations: 4 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003048, allocations: 0 / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.003051, allocations: 0 / 0.9522 GB, free: 1.785 MB / 0.9011 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.0003758/0.003427, allocations: 278.2 kB / 0.9524 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.00347, allocations: 8.031 kB / 0.9524 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.003508, allocations: 34.73 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.003533, allocations: 8.875 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.00367, allocations: 117.7 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.00369, allocations: 4.375 kB / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.003699, allocations: 384 / 0.9526 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.00385, allocations: 70.22 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.003858, allocations: 192 / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003866, allocations: 4.312 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.003872, allocations: 4.125 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.003982, allocations: 43.95 kB / 0.9527 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.004276, allocations: 235.9 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.751e-05/0.004363, allocations: 50.42 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.004415, allocations: 28.91 kB / 0.953 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.00443, allocations: 0 / 0.953 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.004448, allocations: 34.56 kB / 0.953 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004449, allocations: 0 / 0.953 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002575/0.004707, allocations: 89.59 kB / 0.9531 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.004749, allocations: 55.39 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.004814, allocations: 106 kB / 0.9533 GB, free: 484 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.004826, allocations: 29.64 kB / 0.9533 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.004864, allocations: 92.06 kB / 0.9534 GB, free: 352 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.004878, allocations: 8.016 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.004905, allocations: 17.72 kB / 0.9534 GB, free: 320 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.004988, allocations: 310.8 kB / 0.9537 GB, free: 0 / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.005046, allocations: 23.97 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.005084, allocations: 15.98 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.309e-05/0.005168, allocations: 44.88 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.00517, allocations: 8.188 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.005276, allocations: 65.66 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.00529, allocations: 6.656 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005295, allocations: 4 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.005309, allocations: 0 / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.005386, allocations: 23.95 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.00539, allocations: 0 / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.005415, allocations: 11.94 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.005419, allocations: 0 / 0.9539 GB, free: 15.79 MB / 0.9167 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 8.095e-05/0.0055, allocations: 113.8 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.005511, allocations: 0 / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.005529, allocations: 11.31 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.00553, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.005534, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005536, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.005635, allocations: 140.7 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-07/0.005635, allocations: 3.938 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.005663, allocations: 8 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.005664, allocations: 0 / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.005671, allocations: 3.984 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.005671, allocations: 0 / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005672, allocations: 0 / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.005802, allocations: 172 kB / 0.9543 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.005808, allocations: 11.92 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.005817, allocations: 0 / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.005858, allocations: 7.984 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.005899, allocations: 11.98 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.005901, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.667e-05/0.005927, allocations: 79.28 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005927, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000142/0.006069, allocations: 12 kB / 0.9545 GB, free: 15.16 MB / 0.9167 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.0005631/0.006633, allocations: 0.7007 MB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.006758, allocations: 43.89 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006759, allocations: 0 / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.006804, allocations: 19.98 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.006987, allocations: 4 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.007884, allocations: 1.261 MB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.681e-05/0.007941, allocations: 63.44 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.007973, allocations: 7.984 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.008017, allocations: 24.52 kB / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of SimCode: time 1.272e-06/0.008018, allocations: 0 / 0.9565 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.02313, allocations: 2.2 MB / 0.9587 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/6.847, allocations: 0 / 0.9587 GB, free: 10.85 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.76815914362669]