Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.001664/0.001664, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 194 kB / 16.53 MB, free: 6.391 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.3 MB / 0.6647 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6244, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001653/0.626, allocations: 0.661 MB / 0.9504 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.6267, allocations: 0.8396 MB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.6268, allocations: 1.406 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.908e-05/0.6269, allocations: 7.938 kB / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.569e-05/0.6269, allocations: 14.73 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.114e-05/0.627, allocations: 16.16 kB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.897e-05/0.6271, allocations: 73.09 kB / 0.9513 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.6273, allocations: 32.81 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.6274, allocations: 35.61 kB / 0.9514 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.558e-05/0.6274, allocations: 42.5 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.6275, allocations: 6.062 kB / 0.9514 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.6275, allocations: 9.688 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.6276, allocations: 24.7 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.6276, allocations: 36.23 kB / 0.9515 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.6277, allocations: 92.86 kB / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6277, allocations: 0 / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6277, allocations: 1.094 kB / 0.9516 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6277, allocations: 3.938 kB / 0.9516 GB, free: 7.797 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004945/0.6282, allocations: 392.8 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.6283, allocations: 13.72 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.6283, allocations: 37.69 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.6284, allocations: 8.406 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.6285, allocations: 197.7 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6285, allocations: 7.844 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.6285, allocations: 4.594 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.6289, allocations: 162.5 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.6289, allocations: 7.938 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.6289, allocations: 1.125 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6289, allocations: 1.188 kB / 0.9524 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.6293, allocations: 148.9 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.6298, allocations: 450.2 kB / 0.9529 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.63, allocations: 114.4 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.6302, allocations: 84.59 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.6303, allocations: 4.062 kB / 0.9531 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.6303, allocations: 31.97 kB / 0.9532 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.6303, allocations: 0 / 0.9532 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0006942/0.631, allocations: 228.5 kB / 0.9534 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.631, allocations: 78.3 kB / 0.9535 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.6311, allocations: 133.9 kB / 0.9536 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6311, allocations: 29.7 kB / 0.9536 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.6312, allocations: 108.1 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.6312, allocations: 6.75 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.6312, allocations: 23.77 kB / 0.9537 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.6313, allocations: 317.2 kB / 0.954 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.6315, allocations: 65.69 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.6317, allocations: 77.52 kB / 0.9542 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.632, allocations: 127.7 kB / 0.9543 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.632, allocations: 5.281 kB / 0.9543 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004007/0.6324, allocations: 165.5 kB / 0.9545 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6325, allocations: 7 kB / 0.9545 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.6325, allocations: 1.188 kB / 0.9545 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6325, allocations: 0 / 0.9545 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.6327, allocations: 23.34 kB / 0.9545 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.6327, allocations: 7.922 kB / 0.9545 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.6328, allocations: 18.08 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6328, allocations: 1.5 kB / 0.9545 GB, free: 5.223 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.772e-05/0.6329, allocations: 127.8 kB / 0.9546 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.6329, allocations: 6.562 kB / 0.9547 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.633, allocations: 13.88 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.633, allocations: 1.75 kB / 0.9547 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.633, allocations: 3.938 kB / 0.9547 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.633, allocations: 5.891 kB / 0.9547 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.6332, allocations: 199.9 kB / 0.9549 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6332, allocations: 4 kB / 0.9549 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.6333, allocations: 21.75 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6333, allocations: 3.312 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6333, allocations: 3.984 kB / 0.9549 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6333, allocations: 0 / 0.9549 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6334, allocations: 7.125 kB / 0.9549 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.6338, allocations: 328.2 kB / 0.9552 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.6338, allocations: 87.05 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.6338, allocations: 1 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.634, allocations: 17.72 kB / 0.9553 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.6341, allocations: 25.5 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.6341, allocations: 1.406 kB / 0.9553 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.6341, allocations: 105.9 kB / 0.9554 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6341, allocations: 1.031 kB / 0.9555 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002628/0.6344, allocations: 15.59 kB / 0.9555 GB, free: 4.336 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005937/0.635, allocations: 0.8694 MB / 0.9563 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.6354, allocations: 138.9 kB / 0.9564 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6354, allocations: 1.594 kB / 0.9564 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.6356, allocations: 91.33 kB / 0.9565 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.636, allocations: 12.75 kB / 0.9565 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6377, allocations: 1.68 MB / 0.9582 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.6379, allocations: 0.7041 MB / 0.9589 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.126e-05/0.6379, allocations: 17.73 kB / 0.9589 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.638, allocations: 23.55 kB / 0.9589 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.638, allocations: 4 kB / 0.9589 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.6562, allocations: 2.383 MB / 0.9612 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/8.008, allocations: 21.5 kB / 0.9613 GB, free: 15.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches