Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.IntegerScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.001561/0.001562, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 196.2 kB / 16.14 MB, free: 6.691 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7369, allocations: 140.4 MB / 0.9491 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001949/0.7389, allocations: 0.7272 MB / 0.9498 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.7397, allocations: 0.8276 MB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.7398, allocations: 0.7812 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.7399, allocations: 5.406 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.74, allocations: 3.984 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.7401, allocations: 20.52 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.639e-05/0.7402, allocations: 29.48 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.7403, allocations: 15.86 kB / 0.9506 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.7404, allocations: 8.594 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.7404, allocations: 17.14 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.7405, allocations: 2.344 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.7405, allocations: 1.688 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.7405, allocations: 14.88 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.7406, allocations: 11.94 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.028e-05/0.7407, allocations: 34.47 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7407, allocations: 0 / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7407, allocations: 1.375 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7407, allocations: 7.938 kB / 0.9507 GB, free: 7.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004251/0.7411, allocations: 350.4 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.7412, allocations: 9.812 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.7412, allocations: 36.44 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.7412, allocations: 6.156 kB / 0.9511 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.7414, allocations: 176.2 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.7414, allocations: 1.656 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.7414, allocations: 6.781 kB / 0.9513 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.7416, allocations: 72.12 kB / 0.9514 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7416, allocations: 3.938 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.7416, allocations: 4 kB / 0.9514 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7417, allocations: 1.125 kB / 0.9514 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.7418, allocations: 43.55 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.7422, allocations: 281.2 kB / 0.9517 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.7423, allocations: 40.67 kB / 0.9517 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.7424, allocations: 33.53 kB / 0.9518 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.7425, allocations: 0 / 0.9518 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.7425, allocations: 36.19 kB / 0.9518 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.7425, allocations: 0 / 0.9518 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003764/0.7429, allocations: 86.72 kB / 0.9519 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.7429, allocations: 52.78 kB / 0.9519 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.743, allocations: 99.36 kB / 0.952 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.743, allocations: 31.08 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.7431, allocations: 93.53 kB / 0.9521 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.7431, allocations: 5.281 kB / 0.9521 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.7431, allocations: 17.84 kB / 0.9522 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.7432, allocations: 322.7 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.7433, allocations: 22.92 kB / 0.9525 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.7434, allocations: 13.61 kB / 0.9525 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.7435, allocations: 49.5 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7435, allocations: 0 / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.7437, allocations: 66.41 kB / 0.9526 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7437, allocations: 5.5 kB / 0.9526 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7438, allocations: 0 / 0.9526 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7438, allocations: 1.375 kB / 0.9526 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.7439, allocations: 9.484 kB / 0.9526 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.7439, allocations: 5.406 kB / 0.9526 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.7439, allocations: 10.67 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.744, allocations: 1.375 kB / 0.9527 GB, free: 5.766 MB / 0.7169 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.0001178/0.7441, allocations: 116.5 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.7441, allocations: 1.375 kB / 0.9528 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.7441, allocations: 4.5 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.7441, allocations: 0 / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7442, allocations: 1.375 kB / 0.9528 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7442, allocations: 4 kB / 0.9528 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.7443, allocations: 173.8 kB / 0.9529 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7443, allocations: 0 / 0.9529 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.854e-05/0.7444, allocations: 10.8 kB / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7444, allocations: 256 / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.7444, allocations: 1.25 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.7444, allocations: 7.984 kB / 0.953 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7444, allocations: 0 / 0.953 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.7446, allocations: 174 kB / 0.9531 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.7447, allocations: 77.11 kB / 0.9532 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.7447, allocations: 5.688 kB / 0.9532 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.7448, allocations: 6.641 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.7448, allocations: 7.031 kB / 0.9532 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.7449, allocations: 5.031 kB / 0.9532 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.833e-05/0.7449, allocations: 83.58 kB / 0.9533 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7449, allocations: 4.031 kB / 0.9533 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002134/0.7451, allocations: 8.125 kB / 0.9533 GB, free: 5.059 MB / 0.7169 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.0004663/0.7456, allocations: 0.7063 MB / 0.954 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.7458, allocations: 48.34 kB / 0.954 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7458, allocations: 0 / 0.954 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.7459, allocations: 24.34 kB / 0.9541 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.7462, allocations: 2.781 kB / 0.9541 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.7474, allocations: 1.261 MB / 0.9553 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.7475, allocations: 0.6836 MB / 0.956 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.7476, allocations: 2.812 kB / 0.956 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.7476, allocations: 16.88 kB / 0.956 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7476, allocations: 1.438 kB / 0.956 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0115/0.7591, allocations: 1.297 MB / 0.9573 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.7593, allocations: 225.4 kB / 0.9575 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.521, allocations: 0 / 0.9575 GB, free: 1.492 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches