Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002467/0.002467, allocations: 219.1 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 66.33 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3996, allocations: 176.1 MB / 1.327 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002725/0.4024, allocations: 0.9538 MB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.4046, allocations: 1.35 MB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.4048, allocations: 7.938 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.4049, allocations: 23.73 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.4051, allocations: 43.66 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008953/0.406, allocations: 283 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000553/0.4066, allocations: 375.3 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.4067, allocations: 45.78 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.407, allocations: 163.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.4073, allocations: 131.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.4073, allocations: 39.98 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4075, allocations: 55.92 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.62e-05/0.4076, allocations: 51.84 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.4078, allocations: 123.5 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.4083, allocations: 398.6 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4083, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4083, allocations: 3.938 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.4083, allocations: 3.938 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001115/0.4094, allocations: 0.5567 MB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4095, allocations: 8.031 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.4095, allocations: 4.188 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.4095, allocations: 46.73 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003887/0.4099, allocations: 64.75 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009473/0.4109, allocations: 305.1 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.4109, allocations: 16.38 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.411, allocations: 20.38 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.4115, allocations: 209.9 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4115, allocations: 0 / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4115, allocations: 4 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4115, allocations: 4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.412, allocations: 139.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4132, allocations: 0.8359 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.4136, allocations: 141 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.4138, allocations: 84.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4138, allocations: 11.88 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.4143, allocations: 163.5 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/0.4143, allocations: 0 / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0008936/0.4152, allocations: 257.3 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.4153, allocations: 158.2 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4156, allocations: 225 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.4156, allocations: 33.7 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4158, allocations: 152.3 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.4158, allocations: 32.14 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.416, allocations: 57.69 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4161, allocations: 334.8 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.4165, allocations: 167.2 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.417, allocations: 290 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.4176, allocations: 278.9 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.4176, allocations: 4 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009461/0.4185, allocations: 436 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.4186, allocations: 63.61 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4186, allocations: 8 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.4186, allocations: 4 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4188, allocations: 27.97 kB / 1.335 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4188, allocations: 7.938 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.4192, allocations: 80.27 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4193, allocations: 16 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001838/0.4195, allocations: 150.3 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4195, allocations: 23.84 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/0.4196, allocations: 25.31 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4196, allocations: 7.938 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4196, allocations: 0 / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4196, allocations: 4 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.4198, allocations: 216.6 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4198, allocations: 7.984 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.42, allocations: 27.92 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.42, allocations: 0 / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.42, allocations: 11.98 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.42, allocations: 0 / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.42, allocations: 0 / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.4206, allocations: 240.2 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.4207, allocations: 27.8 kB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.4207, allocations: 0 / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4208, allocations: 19.97 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.4209, allocations: 15.92 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4209, allocations: 8 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001527/0.4211, allocations: 160.5 kB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4211, allocations: 3.938 kB / 1.336 GB, free: 6.684 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003303/0.4214, allocations: 59.88 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001065/0.4225, allocations: 0.768 MB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009472/0.4234, allocations: 377.9 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.4234, allocations: 4 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.4237, allocations: 76.42 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.4242, allocations: 60.25 kB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.4292, allocations: 2.832 MB / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.4294, allocations: 136.8 kB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.4296, allocations: 33.62 kB / 1.341 GB, free: 2.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.4297, allocations: 67.41 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of SimCode: time 2.545e-06/0.4297, allocations: 0 / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0296/0.4593, allocations: 5.704 MB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.22, allocations: 13.39 kB / 1.346 GB, free: 12.52 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.3634805920301] Failed to read output from testmodel.py, exit status != 0: 12.382306262967177 12.399191586 11.987714181 Calling exit ...