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.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.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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 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.001216/0.001216, allocations: 197 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.317/2.317, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.6233, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001787/0.6251, allocations: 0.642 MB / 0.9504 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.6259, allocations: 0.8307 MB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.6259, allocations: 1.688 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.11e-05/0.626, allocations: 3.938 kB / 0.9512 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.943e-05/0.6261, allocations: 9.625 kB / 0.9512 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.6262, allocations: 24.12 kB / 0.9512 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.495e-05/0.6263, allocations: 28.45 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.843e-05/0.6264, allocations: 12.42 kB / 0.9513 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.647e-05/0.6264, allocations: 12.88 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.6265, allocations: 16.95 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.6265, allocations: 3.969 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.6265, allocations: 2.562 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.6266, allocations: 18.5 kB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.6266, allocations: 15.61 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.077e-05/0.6267, allocations: 31.45 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6267, allocations: 0 / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6268, allocations: 8.875 kB / 0.9514 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.6268, allocations: 0 / 0.9514 GB, free: 7.891 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.0003768/0.6271, allocations: 354.7 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6272, allocations: 9.406 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.663e-05/0.6272, allocations: 31.91 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.316e-05/0.6272, allocations: 11.31 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.6274, allocations: 175.8 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6274, allocations: 6.062 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.6274, allocations: 3.5 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.6276, allocations: 70.75 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6276, allocations: 5.312 kB / 0.952 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6276, allocations: 0 / 0.952 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6276, allocations: 5.766 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.6278, allocations: 50.7 kB / 0.9521 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.6281, allocations: 277 kB / 0.9523 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.6282, allocations: 40.86 kB / 0.9524 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.874e-05/0.6283, allocations: 31.53 kB / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.6284, allocations: 0 / 0.9524 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.6284, allocations: 31.75 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.6284, allocations: 0 / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000333/0.6287, allocations: 87.69 kB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.672e-05/0.6288, allocations: 55.53 kB / 0.9526 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.6288, allocations: 104.5 kB / 0.9527 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.6288, allocations: 26.89 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.6288, allocations: 89.95 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.6289, allocations: 10.03 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.6289, allocations: 11.72 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.6289, allocations: 328.7 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.629, allocations: 21.45 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.6291, allocations: 13.67 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.6293, allocations: 45.31 kB / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6293, allocations: 1.25 kB / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.6295, allocations: 66.72 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6295, allocations: 9.688 kB / 0.9532 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.6295, allocations: 1.406 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6295, allocations: 0 / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.6296, allocations: 9.734 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.6296, allocations: 5.531 kB / 0.9533 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.6297, allocations: 6.734 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.6297, allocations: 1.469 kB / 0.9533 GB, free: 5.953 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 7.726e-05/0.6298, allocations: 116.5 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.6298, allocations: 4.875 kB / 0.9534 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.536e-05/0.6298, allocations: 8.656 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6298, allocations: 0 / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6298, allocations: 5.391 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.6298, allocations: 0 / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.63, allocations: 173.6 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.63, allocations: 0 / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.63, allocations: 5.875 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.63, allocations: 1.344 kB / 0.9536 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.63, allocations: 4.234 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6301, allocations: 9 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6301, allocations: 0 / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.6303, allocations: 168.8 kB / 0.9537 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.6303, allocations: 82.11 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.6303, allocations: 1.062 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.6304, allocations: 11.86 kB / 0.9538 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.6305, allocations: 6.125 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.6305, allocations: 1.125 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.561e-05/0.6305, allocations: 83.58 kB / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.72e-07/0.6305, allocations: 0 / 0.9539 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002151/0.6307, allocations: 9.031 kB / 0.9539 GB, free: 5.246 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.0003968/0.6311, allocations: 0.7062 MB / 0.9546 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.6314, allocations: 43.66 kB / 0.9547 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6314, allocations: 0 / 0.9547 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.305e-05/0.6315, allocations: 29.28 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.6317, allocations: 2.312 kB / 0.9547 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.6328, allocations: 1.25 MB / 0.9559 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.6329, allocations: 0.688 MB / 0.9566 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.6329, allocations: 7.109 kB / 0.9566 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.633, allocations: 13.09 kB / 0.9566 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.633, allocations: 0 / 0.9566 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.6496, allocations: 1.502 MB / 0.9581 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/8.07, allocations: 9.797 kB / 0.9581 GB, free: 1.762 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