Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.IntegerVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_10_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.00865/0.00865, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001578/0.001578, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.542/2.542, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 75.8 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.925/0.9271, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001724/0.9288, allocations: 0.6678 MB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.93, allocations: 0.8375 MB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.9301, allocations: 0 / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.9303, allocations: 15.94 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.9304, allocations: 7.922 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.9306, allocations: 11.98 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.9307, allocations: 79.75 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.9309, allocations: 31.98 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.931, allocations: 39.89 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.9312, allocations: 31.91 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.9312, allocations: 8 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.937e-05/0.9312, allocations: 7.938 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.9313, allocations: 27.97 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.9314, allocations: 35.8 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.9316, allocations: 95.33 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.9316, allocations: 4 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9316, allocations: 0 / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.964e-06/0.9316, allocations: 0 / 1.168 GB, free: 1.891 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008341/0.9325, allocations: 403 kB / 1.168 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.9325, allocations: 12.92 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.9326, allocations: 38.75 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.9326, allocations: 8.891 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.9329, allocations: 204.2 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.933, allocations: 12.31 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.933, allocations: 8.375 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.9334, allocations: 153.2 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.9334, allocations: 3.938 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.9335, allocations: 0 / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.9335, allocations: 7.984 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.9339, allocations: 151.8 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.9347, allocations: 440.8 kB / 1.169 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.935, allocations: 117.1 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.9352, allocations: 77.69 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.9353, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.9353, allocations: 42.5 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.9353, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0007306/0.9361, allocations: 221.4 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.9361, allocations: 89.3 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.9362, allocations: 125.8 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.9363, allocations: 25.7 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.9363, allocations: 100 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.9363, allocations: 11.84 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.9364, allocations: 25.7 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9365, allocations: 318.8 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.9367, allocations: 67.91 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.9369, allocations: 73.64 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.9372, allocations: 137.5 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9373, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004146/0.9377, allocations: 157.5 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9377, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9377, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9377, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.9379, allocations: 28.02 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9379, allocations: 12.25 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.955e-05/0.938, allocations: 11.98 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.9381, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 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 0.0001338/0.9382, allocations: 129.8 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.9383, allocations: 7.938 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.9383, allocations: 7.531 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9383, allocations: 4 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.9383, allocations: 7.938 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.9383, allocations: 0 / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.9386, allocations: 197.8 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9386, allocations: 4 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.9388, allocations: 19.97 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.9388, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.9388, allocations: 11.92 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.9388, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9388, allocations: 3.938 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005235/0.9393, allocations: 342.6 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.9394, allocations: 85.06 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.9394, allocations: 0 / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.9396, allocations: 19.97 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.9397, allocations: 27.91 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.9397, allocations: 0 / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.9398, allocations: 99.27 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9398, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002612/0.94, allocations: 15.94 kB / 1.172 GB, free: 13.52 MB / 0.9044 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.0007493/0.9408, allocations: 0.8678 MB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.9412, allocations: 143.8 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9412, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.9415, allocations: 87.83 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.9418, allocations: 13.06 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.944, allocations: 1.686 MB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.9443, allocations: 0.7002 MB / 1.175 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.309e-05/0.9444, allocations: 19.98 kB / 1.175 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.9445, allocations: 31.36 kB / 1.175 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.9445, allocations: 7.938 kB / 1.175 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.9628, allocations: 2.406 MB / 1.178 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.72, allocations: 23.06 kB / 1.178 GB, free: 7.551 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches