Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",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.0009306/0.0009305, allocations: 91.06 kB / 15.06 MB, free: 1.094 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.001158/0.001158, allocations: 172.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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.434 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.39/2.39, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003462, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8166, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001232/0.8179, allocations: 1.104 MB / 0.9549 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.8195, allocations: 1.75 MB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.8196, allocations: 1.406 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006985/0.8203, allocations: 345.9 kB / 0.957 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.8203, allocations: 20.03 kB / 0.957 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.587e-06/0.8203, allocations: 1.094 kB / 0.957 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.8205, allocations: 129.7 kB / 0.9571 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.8206, allocations: 18.03 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.8207, allocations: 43.12 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.8208, allocations: 61.66 kB / 0.9572 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.8208, allocations: 10.28 kB / 0.9572 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.8212, allocations: 168.3 kB / 0.9574 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.8213, allocations: 37.52 kB / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.8213, allocations: 53.33 kB / 0.9575 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.8216, allocations: 205.6 kB / 0.9577 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8216, allocations: 2.031 kB / 0.9577 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8216, allocations: 3.938 kB / 0.9577 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.8216, allocations: 0 / 0.9577 GB, free: 5.258 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005357/0.8221, allocations: 478.4 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.8222, allocations: 9.594 kB / 0.9582 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.8222, allocations: 111.2 kB / 0.9583 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.8224, allocations: 99.86 kB / 0.9584 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.8226, allocations: 280.4 kB / 0.9586 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.8226, allocations: 159.8 kB / 0.9588 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.8227, allocations: 165.5 kB / 0.9589 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.392e-05/0.8227, allocations: 101 kB / 0.959 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.8227, allocations: 75.28 kB / 0.9591 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.8228, allocations: 155.8 kB / 0.9592 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.8228, allocations: 150.6 kB / 0.9594 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.8228, allocations: 155.9 kB / 0.9595 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.8231, allocations: 0.5081 MB / 0.96 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.246e-05/0.8231, allocations: 166.4 kB / 0.9602 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.8232, allocations: 84.08 kB / 0.9603 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.8232, allocations: 76.28 kB / 0.9603 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.8232, allocations: 115.3 kB / 0.9605 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8232, allocations: 0 / 0.9605 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001617/0.8234, allocations: 43.3 kB / 0.9605 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.8234, allocations: 128.2 kB / 0.9606 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.8237, allocations: 316.1 kB / 0.9609 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.8238, allocations: 31.08 kB / 0.961 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.8238, allocations: 119.2 kB / 0.9611 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.8238, allocations: 4 kB / 0.9611 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.8238, allocations: 1.375 kB / 0.9611 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.8239, allocations: 328.3 kB / 0.9614 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.824, allocations: 68.73 kB / 0.9615 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.8241, allocations: 117.7 kB / 0.9616 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.8242, allocations: 90.58 kB / 0.9616 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8242, allocations: 0 / 0.9616 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003852/0.8246, allocations: 232.4 kB / 0.9619 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.8246, allocations: 6.906 kB / 0.9619 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8246, allocations: 5.312 kB / 0.9619 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.8246, allocations: 2.75 kB / 0.9619 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.386e-06/0.8246, allocations: 5.359 kB / 0.9619 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.8247, allocations: 2.75 kB / 0.9619 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.8248, allocations: 29.03 kB / 0.9619 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.8248, allocations: 8.297 kB / 0.9619 GB, free: 1.164 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001609/0.825, allocations: 231.3 kB / 0.9621 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.825, allocations: 114.8 kB / 0.9623 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.825, allocations: 113.8 kB / 0.9624 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/0.8251, allocations: 189.4 kB / 0.9625 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/0.8251, allocations: 181.4 kB / 0.9627 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.8251, allocations: 180.2 kB / 0.9629 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.8254, allocations: 454.2 kB / 0.9633 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.44e-05/0.8255, allocations: 106.4 kB / 0.9634 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.8255, allocations: 108.9 kB / 0.9635 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.749e-05/0.8256, allocations: 182 kB / 0.9637 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.8257, allocations: 185.3 kB / 0.9639 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.447e-05/0.8257, allocations: 177.2 kB / 0.9641 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.611e-05/0.8258, allocations: 181.3 kB / 0.9642 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.826, allocations: 320.9 kB / 0.9645 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.8261, allocations: 207 kB / 0.9647 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.8262, allocations: 181.4 kB / 0.9649 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.8263, allocations: 102.1 kB / 0.965 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.8264, allocations: 185.5 kB / 0.9652 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.8264, allocations: 105 kB / 0.9653 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002423/0.8267, allocations: 210.8 kB / 0.9655 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8267, allocations: 1 kB / 0.9655 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004496/0.8271, allocations: 66.66 kB / 0.9655 GB, free: 13.45 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0006212/0.8278, allocations: 0.9153 MB / 0.9664 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.8279, allocations: 101.8 kB / 0.9665 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.828, allocations: 0 / 0.9665 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.828, allocations: 1.156 kB / 0.9665 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.8284, allocations: 0.5338 MB / 0.9671 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.83, allocations: 1.189 MB / 0.9682 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.8303, allocations: 0.7427 MB / 0.9689 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.395e-05/0.8303, allocations: 6.25 kB / 0.9689 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.8303, allocations: 34.14 kB / 0.969 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.8304, allocations: 0 / 0.969 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.8465, allocations: 4.491 MB / 0.9734 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.8468, allocations: 209 kB / 0.9736 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.633, allocations: 0 / 0.9736 GB, free: 8.039 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat does not exist to compare? outputFormat=mat