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.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.001933/0.001933, allocations: 104.9 kB / 16.4 MB, free: 6.449 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.002388/0.002389, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.489/1.489, allocations: 222.9 MB / 245 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 469.8 MB / 0.7491 GB, free: 3.02 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.001948/0.001948, allocations: 71.89 kB / 1.073 GB, free: 136 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.827, allocations: 159.1 MB / 1.229 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00207/0.8291, allocations: 0.6562 MB / 1.229 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.8304, allocations: 0.8351 MB / 1.23 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.8304, allocations: 0 / 1.23 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.8306, allocations: 3.938 kB / 1.23 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.8306, allocations: 7.938 kB / 1.23 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.8308, allocations: 15.98 kB / 1.23 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.8309, allocations: 31.92 kB / 1.23 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.831, allocations: 15.97 kB / 1.23 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.8311, allocations: 11.94 kB / 1.23 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.8311, allocations: 15.92 kB / 1.23 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.8312, allocations: 8 kB / 1.23 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.8312, allocations: 4 kB / 1.23 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.8312, allocations: 11.98 kB / 1.23 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.8313, allocations: 19.92 kB / 1.23 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.8314, allocations: 43.69 kB / 1.23 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8314, allocations: 0 / 1.23 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8314, allocations: 0 / 1.23 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.85e-06/0.8314, allocations: 0 / 1.23 GB, free: 3.137 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000507/0.8319, allocations: 357.4 kB / 1.231 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.832, allocations: 12.03 kB / 1.231 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.832, allocations: 34.75 kB / 1.231 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.8321, allocations: 0.9375 kB / 1.231 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.8323, allocations: 176.3 kB / 1.231 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.8323, allocations: 4.375 kB / 1.231 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.8323, allocations: 384 / 1.231 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.8325, allocations: 74.14 kB / 1.231 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8325, allocations: 3.938 kB / 1.231 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.8325, allocations: 4 kB / 1.231 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.8326, allocations: 4 kB / 1.231 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.8328, allocations: 39.95 kB / 1.231 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.8332, allocations: 276.8 kB / 1.231 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.8334, allocations: 42.48 kB / 1.231 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.8335, allocations: 28.91 kB / 1.231 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.8335, allocations: 0 / 1.231 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.8335, allocations: 30.56 kB / 1.231 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.8335, allocations: 4 kB / 1.231 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004072/0.8339, allocations: 89.7 kB / 1.231 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.834, allocations: 59.34 kB / 1.231 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.8341, allocations: 109.8 kB / 1.232 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.8341, allocations: 29.64 kB / 1.232 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.8342, allocations: 88.09 kB / 1.232 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.8342, allocations: 4 kB / 1.232 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.8343, allocations: 17.72 kB / 1.232 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8344, allocations: 318.8 kB / 1.232 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.8345, allocations: 19.98 kB / 1.232 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.8346, allocations: 15.98 kB / 1.232 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.8348, allocations: 44.81 kB / 1.232 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8348, allocations: 0 / 1.232 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000227/0.835, allocations: 73.67 kB / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.835, allocations: 11.94 kB / 1.232 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.835, allocations: 0 / 1.232 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8351, allocations: 0 / 1.232 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.8352, allocations: 7.984 kB / 1.232 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8352, allocations: 4 kB / 1.232 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.8352, allocations: 3.984 kB / 1.232 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.8353, allocations: 4 kB / 1.232 GB, free: 0.9492 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: 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 0.0001674/0.8354, allocations: 126.8 kB / 1.232 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.8355, allocations: 4 kB / 1.232 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.8355, allocations: 3.125 kB / 1.232 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.8355, allocations: 3.984 kB / 1.232 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8355, allocations: 0 / 1.232 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.8355, allocations: 0 / 1.232 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.8357, allocations: 169.6 kB / 1.232 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8357, allocations: 0 / 1.232 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.8358, allocations: 8 kB / 1.232 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8358, allocations: 0 / 1.232 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.8358, allocations: 7.984 kB / 1.232 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.8358, allocations: 7.922 kB / 1.233 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8358, allocations: 4 kB / 1.233 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.8361, allocations: 167.4 kB / 1.233 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.8362, allocations: 81.06 kB / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.8362, allocations: 0 / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.8363, allocations: 12.02 kB / 1.233 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.8363, allocations: 8 kB / 1.233 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.8364, allocations: 3.984 kB / 1.233 GB, free: 268 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.959e-05/0.8364, allocations: 83.53 kB / 1.233 GB, free: 184 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8364, allocations: 0 / 1.233 GB, free: 184 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002211/0.8366, allocations: 12 kB / 1.233 GB, free: 172 kB / 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: 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.000659/0.8373, allocations: 0.7012 MB / 1.234 GB, free: 15.44 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.8375, allocations: 39.91 kB / 1.234 GB, free: 15.4 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8376, allocations: 0 / 1.234 GB, free: 15.4 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.8377, allocations: 28.06 kB / 1.234 GB, free: 15.37 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.8379, allocations: 6.25 kB / 1.234 GB, free: 15.37 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.8396, allocations: 1.26 MB / 1.235 GB, free: 14.03 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.8399, allocations: 0.6768 MB / 1.236 GB, free: 13.33 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.84, allocations: 8.031 kB / 1.236 GB, free: 13.32 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.84, allocations: 15.44 kB / 1.236 GB, free: 13.3 MB / 0.9513 GB Notification: Performance of SimCode: time 3.21e-07/0.8401, allocations: 0 / 1.236 GB, free: 13.3 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.8635, allocations: 1.537 MB / 1.237 GB, free: 11.91 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.886, allocations: 2.625 kB / 1.237 GB, free: 11.91 MB / 0.9513 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.990931105101481]