Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.0008294/0.0008294, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.0008328/0.0008329, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004181, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.8914, allocations: 142.3 MB / 0.9539 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0009001/0.8924, allocations: 366.2 kB / 0.9542 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.8932, allocations: 0.7791 MB / 0.955 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.8933, allocations: 3.938 kB / 0.955 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.22e-05/0.8934, allocations: 5.406 kB / 0.955 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.972e-05/0.8934, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.8935, allocations: 9.203 kB / 0.955 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.201e-05/0.8936, allocations: 25.48 kB / 0.955 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.8937, allocations: 6.188 kB / 0.955 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.8937, allocations: 15.45 kB / 0.955 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.8938, allocations: 11.61 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.8938, allocations: 5.25 kB / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.8938, allocations: 1.469 kB / 0.9551 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.8939, allocations: 5.422 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.8939, allocations: 28.58 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.563e-05/0.894, allocations: 20.86 kB / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.894, allocations: 0 / 0.9551 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/0.894, allocations: 4 kB / 0.9551 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8941, allocations: 0 / 0.9551 GB, free: 7.098 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004462/0.8945, allocations: 343.8 kB / 0.9554 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.8946, allocations: 9.656 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.142e-05/0.8946, allocations: 31.78 kB / 0.9555 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.8946, allocations: 5.203 kB / 0.9555 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.8948, allocations: 177.5 kB / 0.9557 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.8948, allocations: 9.344 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.8948, allocations: 1.906 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.8951, allocations: 57.73 kB / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8951, allocations: 0 / 0.9557 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8951, allocations: 4 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.8951, allocations: 1.344 kB / 0.9557 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.8953, allocations: 53.97 kB / 0.9558 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.8957, allocations: 278.4 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.8958, allocations: 33.12 kB / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/0.8959, allocations: 30.52 kB / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.8959, allocations: 0 / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.8959, allocations: 43.89 kB / 0.9561 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.8959, allocations: 3.984 kB / 0.9561 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003285/0.8963, allocations: 92.66 kB / 0.9562 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.8963, allocations: 55.39 kB / 0.9563 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/0.8964, allocations: 103.5 kB / 0.9564 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.8964, allocations: 26.77 kB / 0.9564 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.8964, allocations: 93.25 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.8965, allocations: 0.9688 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.8965, allocations: 0 / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.411e-05/0.8965, allocations: 312.1 kB / 0.9568 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.8966, allocations: 21.33 kB / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.533e-05/0.8967, allocations: 21.92 kB / 0.9568 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.8968, allocations: 25.25 kB / 0.9569 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8968, allocations: 1.469 kB / 0.9569 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001673/0.8969, allocations: 70.61 kB / 0.9569 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.897, allocations: 9.453 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.897, allocations: 3.938 kB / 0.9569 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.897, allocations: 5.562 kB / 0.957 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.648e-05/0.8971, allocations: 11.02 kB / 0.957 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.8971, allocations: 0 / 0.957 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.8972, allocations: 14.48 kB / 0.957 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.8972, allocations: 0 / 0.957 GB, free: 5.242 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.8972, allocations: 112.8 kB / 0.9571 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.8973, allocations: 5.406 kB / 0.9571 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.8973, allocations: 7.078 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.8973, allocations: 1.094 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8973, allocations: 0 / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8973, allocations: 0 / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.8974, allocations: 160.8 kB / 0.9573 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8975, allocations: 0 / 0.9573 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.8975, allocations: 11.27 kB / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8975, allocations: 0 / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.8975, allocations: 0 / 0.9573 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8975, allocations: 9.391 kB / 0.9573 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8975, allocations: 0 / 0.9573 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.8977, allocations: 178.2 kB / 0.9574 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.8978, allocations: 78.3 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.8978, allocations: 1.531 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/0.8979, allocations: 8.828 kB / 0.9575 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.8979, allocations: 5.109 kB / 0.9575 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.8979, allocations: 1.219 kB / 0.9575 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.662e-05/0.8979, allocations: 82.53 kB / 0.9576 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8979, allocations: 0 / 0.9576 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002084/0.8982, allocations: 7.719 kB / 0.9576 GB, free: 4.559 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004317/0.8986, allocations: 0.7019 MB / 0.9583 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.8988, allocations: 49.08 kB / 0.9584 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8988, allocations: 0 / 0.9584 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.751e-05/0.8989, allocations: 26.61 kB / 0.9584 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.8992, allocations: 6.484 kB / 0.9584 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.8999, allocations: 413.5 kB / 0.9588 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.9, allocations: 0.6786 MB / 0.9594 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.94e-05/0.9, allocations: 2.25 kB / 0.9594 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.9001, allocations: 24.61 kB / 0.9595 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9001, allocations: 0 / 0.9595 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.9111, allocations: 1.02 MB / 0.9605 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.9113, allocations: 206.6 kB / 0.9607 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.547, allocations: 1.969 kB / 0.9607 GB, free: 2.062 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat does not exist to compare? outputFormat=mat