Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_10_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.004222/0.004222, allocations: 98.16 kB / 15.73 MB, free: 6.012 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.001155/0.001155, allocations: 197 kB / 16.68 MB, free: 5.93 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437.1 MB / 0.7106 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 67.89 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6101/0.6119, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001547/0.6134, allocations: 0.6717 MB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008332/0.6143, allocations: 0.8375 MB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.6143, allocations: 4 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.222e-05/0.6144, allocations: 3.938 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 1.772e-05/0.6144, allocations: 11.88 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.6146, allocations: 15.98 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.074e-05/0.6146, allocations: 31.91 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.601e-05/0.6147, allocations: 8 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.487e-05/0.6148, allocations: 19.91 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.6148, allocations: 19.92 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.6148, allocations: 4 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.6149, allocations: 4 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.6149, allocations: 8 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.6149, allocations: 19.86 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.177e-05/0.615, allocations: 39.53 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.615, allocations: 0 / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.61e-07/0.615, allocations: 0 / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.6151, allocations: 0 / 1.168 GB, free: 2.012 MB / 0.8887 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.0004201/0.6155, allocations: 359.3 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.6155, allocations: 16.92 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/0.6156, allocations: 30.75 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.78e-05/0.6156, allocations: 0.9375 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.6157, allocations: 172.4 kB / 1.168 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.6158, allocations: 4.375 kB / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.6158, allocations: 384 / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.6159, allocations: 66.22 kB / 1.168 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.616, allocations: 3.938 kB / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.616, allocations: 0 / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.616, allocations: 4 kB / 1.168 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.6162, allocations: 47.89 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.6165, allocations: 280.8 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.6167, allocations: 42.55 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.6168, allocations: 24.91 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.6168, allocations: 7.922 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.6168, allocations: 38.5 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6168, allocations: 0 / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.6171, allocations: 85.59 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.6172, allocations: 55.53 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.443e-05/0.6173, allocations: 105.8 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.6173, allocations: 25.7 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.6173, allocations: 88.14 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.6174, allocations: 3.953 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.6174, allocations: 17.7 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6175, allocations: 318.8 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.6176, allocations: 19.92 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.6177, allocations: 27.91 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.6179, allocations: 36.83 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.6179, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.6181, allocations: 69.75 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.6181, allocations: 12 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.6181, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.6181, allocations: 3.984 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.6182, allocations: 8 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.6182, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.6183, allocations: 15.88 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.6183, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 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.000102/0.6184, allocations: 121.7 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.6184, allocations: 8.234 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.6185, allocations: 3.125 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.6185, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6185, allocations: 4 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6185, allocations: 7.938 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.6187, allocations: 169.6 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6187, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.6187, allocations: 7.984 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6187, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.6188, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6188, allocations: 8 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.6188, allocations: 0 / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.619, allocations: 167.4 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.6191, allocations: 81.06 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.6191, allocations: 4 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.6192, allocations: 8.016 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.6192, allocations: 15.92 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.6192, allocations: 0 / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.6193, allocations: 79.28 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6193, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002015/0.6195, allocations: 8 kB / 1.17 GB, free: 15.05 MB / 0.9044 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.0005448/0.62, allocations: 0.7046 MB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.6203, allocations: 43.89 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.6203, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.201e-05/0.6204, allocations: 20.08 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.6206, allocations: 9.375 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.6219, allocations: 1.26 MB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.6221, allocations: 0.6807 MB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.6222, allocations: 4.031 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.6222, allocations: 19.42 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.6222, allocations: 0 / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.808/2.43, allocations: 1.537 MB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/14.27, allocations: 11.17 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches