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.001288/0.001288, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001501/0.001501, allocations: 177.3 kB / 15.95 MB, free: 216 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.379/2.379, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003616, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7968, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0007248/0.7976, allocations: 370.6 kB / 0.954 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.7983, allocations: 0.7921 MB / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.7984, allocations: 0 / 0.9547 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.876e-05/0.7985, allocations: 5.062 kB / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.332e-05/0.7985, allocations: 0 / 0.9547 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.353e-05/0.7986, allocations: 10.14 kB / 0.9547 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.807e-05/0.7986, allocations: 13.05 kB / 0.9548 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.182e-05/0.7987, allocations: 10.8 kB / 0.9548 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.7987, allocations: 7.188 kB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.532e-05/0.7988, allocations: 10.95 kB / 0.9548 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.7988, allocations: 1.125 kB / 0.9548 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.7988, allocations: 1.188 kB / 0.9548 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.7989, allocations: 6.156 kB / 0.9548 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.7989, allocations: 31.61 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.885e-05/0.7989, allocations: 21.47 kB / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.799, allocations: 0 / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.799, allocations: 0 / 0.9548 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.799, allocations: 0 / 0.9548 GB, free: 7.117 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.0003162/0.7993, allocations: 347.6 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.7993, allocations: 9.094 kB / 0.9552 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.557e-05/0.7994, allocations: 35.55 kB / 0.9552 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.933e-05/0.7994, allocations: 6.516 kB / 0.9552 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.623e-05/0.7995, allocations: 173.8 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-06/0.7995, allocations: 1.188 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.7995, allocations: 6.594 kB / 0.9554 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.7997, allocations: 60.02 kB / 0.9555 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.7997, allocations: 3.938 kB / 0.9555 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.7997, allocations: 9.109 kB / 0.9555 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7997, allocations: 0 / 0.9555 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.7999, allocations: 50.27 kB / 0.9555 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.8002, allocations: 270.8 kB / 0.9558 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.8003, allocations: 49.95 kB / 0.9558 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.8004, allocations: 0 / 0.9558 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.8004, allocations: 34.52 kB / 0.9559 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.8004, allocations: 0 / 0.9559 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000315/0.8007, allocations: 92.2 kB / 0.9559 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.8007, allocations: 52.47 kB / 0.956 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/0.8008, allocations: 103.3 kB / 0.9561 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-06/0.8008, allocations: 26.73 kB / 0.9561 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.471e-05/0.8008, allocations: 93.31 kB / 0.9562 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.8008, allocations: 5.156 kB / 0.9562 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8009, allocations: 3.938 kB / 0.9562 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/0.8009, allocations: 316.1 kB / 0.9565 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.181e-05/0.801, allocations: 17.58 kB / 0.9565 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.8011, allocations: 29.75 kB / 0.9566 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.8012, allocations: 17.86 kB / 0.9566 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8012, allocations: 0 / 0.9566 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001754/0.8014, allocations: 71.61 kB / 0.9566 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.8014, allocations: 10.7 kB / 0.9567 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8014, allocations: 3.953 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8014, allocations: 1.375 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.8015, allocations: 6.688 kB / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8015, allocations: 0 / 0.9567 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.8016, allocations: 17.61 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.8016, allocations: 1.062 kB / 0.9567 GB, free: 5.277 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 4.604e-05/0.8016, allocations: 112.1 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.8016, allocations: 1 kB / 0.9568 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.8017, allocations: 8.203 kB / 0.9568 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8017, allocations: 8.859 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8017, allocations: 0 / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8017, allocations: 0.9375 kB / 0.9568 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.8018, allocations: 155.8 kB / 0.957 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8018, allocations: 7.938 kB / 0.957 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.8019, allocations: 10.64 kB / 0.957 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8019, allocations: 1.062 kB / 0.957 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.8019, allocations: 0 / 0.957 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8019, allocations: 1.031 kB / 0.957 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8019, allocations: 3.953 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.8021, allocations: 170.4 kB / 0.9571 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.8021, allocations: 78.3 kB / 0.9572 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.8021, allocations: 1.094 kB / 0.9572 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.8022, allocations: 9.516 kB / 0.9572 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.8023, allocations: 9.328 kB / 0.9572 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.8023, allocations: 0 / 0.9572 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.111e-05/0.8023, allocations: 87.36 kB / 0.9573 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.01e-07/0.8023, allocations: 0 / 0.9573 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002124/0.8025, allocations: 11.75 kB / 0.9573 GB, free: 4.586 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.0003613/0.8029, allocations: 0.702 MB / 0.958 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.8031, allocations: 44.31 kB / 0.9581 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8031, allocations: 1.219 kB / 0.9581 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.8032, allocations: 25.77 kB / 0.9581 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.8034, allocations: 12.44 kB / 0.9581 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.8041, allocations: 413.4 kB / 0.9585 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.8042, allocations: 0.6843 MB / 0.9592 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.8042, allocations: 1.375 kB / 0.9592 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.8043, allocations: 12.5 kB / 0.9592 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8043, allocations: 3.938 kB / 0.9592 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009512/0.8138, allocations: 1.013 MB / 0.9602 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/0.814, allocations: 194.6 kB / 0.9603 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.371, allocations: 7.141 kB / 0.9604 GB, free: 2.094 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