Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.0009059/0.0009058, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001135/0.001135, allocations: 172.7 kB / 15.95 MB, free: 208 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.42/1.42, 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.408/2.408, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003765, allocations: 12 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7272, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.0009859/0.7283, allocations: 0.5605 MB / 0.9544 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.7299, allocations: 1.272 MB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.73, allocations: 2.125 kB / 0.9557 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.7302, allocations: 9.062 kB / 0.9557 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.931e-05/0.7303, allocations: 19.19 kB / 0.9557 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.731, allocations: 221.6 kB / 0.9559 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.7313, allocations: 268.3 kB / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.7315, allocations: 42.94 kB / 0.9562 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.7317, allocations: 102.2 kB / 0.9563 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.7319, allocations: 108.3 kB / 0.9564 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.7319, allocations: 15.22 kB / 0.9564 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.732, allocations: 24.08 kB / 0.9564 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.7321, allocations: 29.86 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.7321, allocations: 53.3 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.7323, allocations: 253.3 kB / 0.9568 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.7323, allocations: 0 / 0.9568 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7324, allocations: 0 / 0.9568 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7324, allocations: 1.344 kB / 0.9568 GB, free: 5.914 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005233/0.7329, allocations: 0.4994 MB / 0.9572 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7329, allocations: 9.531 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.733, allocations: 42.77 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.7331, allocations: 26.05 kB / 0.9573 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.7336, allocations: 300.3 kB / 0.9576 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.7337, allocations: 11.12 kB / 0.9576 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.7337, allocations: 22.28 kB / 0.9576 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.734, allocations: 152.6 kB / 0.9578 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.734, allocations: 1.75 kB / 0.9578 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.734, allocations: 8 kB / 0.9578 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.734, allocations: 7.391 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.7341, allocations: 60.72 kB / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.7348, allocations: 0.7539 MB / 0.9586 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.7349, allocations: 59.8 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.735, allocations: 25.17 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.735, allocations: 5.094 kB / 0.9587 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.7352, allocations: 97.28 kB / 0.9588 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.7352, allocations: 0 / 0.9588 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0003289/0.7355, allocations: 128.5 kB / 0.9589 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.7356, allocations: 87.22 kB / 0.959 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.7358, allocations: 215.7 kB / 0.9592 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.7358, allocations: 30.08 kB / 0.9592 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.7359, allocations: 139.9 kB / 0.9593 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.736, allocations: 19.05 kB / 0.9594 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.736, allocations: 4.031 kB / 0.9594 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.7361, allocations: 327.2 kB / 0.9597 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.7362, allocations: 68.23 kB / 0.9597 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.7364, allocations: 127.5 kB / 0.9599 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.7365, allocations: 123 kB / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7365, allocations: 0 / 0.96 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004381/0.737, allocations: 294.8 kB / 0.9603 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.737, allocations: 61.03 kB / 0.9603 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.737, allocations: 1.375 kB / 0.9603 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.7371, allocations: 10.7 kB / 0.9603 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.7371, allocations: 20.17 kB / 0.9604 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.7372, allocations: 2.75 kB / 0.9604 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.7375, allocations: 69.62 kB / 0.9604 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.7375, allocations: 14.98 kB / 0.9604 GB, free: 2.586 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,extIntSig1.y[4],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],$PRE.intPul1.booPul.y,intPul1.booPul.y,conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001241/0.7376, allocations: 149 kB / 0.9606 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.7377, allocations: 14.69 kB / 0.9606 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.7377, allocations: 22.42 kB / 0.9606 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7377, allocations: 1.375 kB / 0.9606 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7377, allocations: 3.953 kB / 0.9606 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.7377, allocations: 1.375 kB / 0.9606 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.7379, allocations: 228.5 kB / 0.9608 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.7379, allocations: 1.281 kB / 0.9608 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.7379, allocations: 8 kB / 0.9608 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.738, allocations: 1.438 kB / 0.9608 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.738, allocations: 1.5 kB / 0.9608 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.738, allocations: 0 / 0.9608 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.738, allocations: 1.438 kB / 0.9608 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.7382, allocations: 140.6 kB / 0.961 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.7382, allocations: 92.75 kB / 0.9611 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.7382, allocations: 9.656 kB / 0.9611 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.7383, allocations: 1.75 kB / 0.9611 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.7383, allocations: 6.734 kB / 0.9611 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.7383, allocations: 6.797 kB / 0.9611 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001183/0.7385, allocations: 144.2 kB / 0.9612 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.002e-06/0.7385, allocations: 0 / 0.9612 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002619/0.7387, allocations: 45.88 kB / 0.9613 GB, free: 1.828 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000376/0.7391, allocations: 0.6845 MB / 0.9619 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.7395, allocations: 250.8 kB / 0.9622 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7395, allocations: 0 / 0.9622 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.7395, allocations: 34.83 kB / 0.9622 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.7398, allocations: 44.98 kB / 0.9623 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.7415, allocations: 1.109 MB / 0.9633 GB, free: 156 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.7419, allocations: 0.7307 MB / 0.9641 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.226e-05/0.7419, allocations: 22.47 kB / 0.9641 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.742, allocations: 55.42 kB / 0.9641 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.742, allocations: 0 / 0.9641 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.7565, allocations: 3.956 MB / 0.968 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.7567, allocations: 209.5 kB / 0.9682 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.537, allocations: 3 kB / 0.9682 GB, free: 13.27 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat does not exist to compare? outputFormat=mat