Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001174/0.001174, allocations: 91.61 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.001361/0.001361, 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.599/1.599, allocations: 223.2 MB / 240 MB, free: 5.43 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.446/2.446, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003654, allocations: 12 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6911, allocations: 142.3 MB / 0.9539 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002174/0.6933, allocations: 1.329 MB / 0.9552 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.6954, allocations: 1.085 MB / 0.9562 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.6955, allocations: 1.156 kB / 0.9562 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.6957, allocations: 22.89 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.696, allocations: 50.59 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.6965, allocations: 126 kB / 0.9564 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.6969, allocations: 197.4 kB / 0.9566 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.697, allocations: 20.16 kB / 0.9566 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.413e-05/0.6971, allocations: 66.73 kB / 0.9567 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.6974, allocations: 81.86 kB / 0.9568 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.6974, allocations: 9.562 kB / 0.9568 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.6977, allocations: 56.92 kB / 0.9568 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.6978, allocations: 77.55 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.112e-05/0.6979, allocations: 61.56 kB / 0.9569 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.6983, allocations: 199.4 kB / 0.9571 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.6983, allocations: 0 / 0.9571 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6983, allocations: 0 / 0.9571 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.6983, allocations: 1.844 kB / 0.9571 GB, free: 5.723 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009267/0.6993, allocations: 493.6 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.6993, allocations: 9.719 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.618e-05/0.6994, allocations: 52.17 kB / 0.9577 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.6995, allocations: 29.05 kB / 0.9577 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.6999, allocations: 254.5 kB / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.7, allocations: 10.81 kB / 0.9579 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.7, allocations: 18.84 kB / 0.958 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.7005, allocations: 210.9 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.7005, allocations: 1.25 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.7006, allocations: 9.359 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.7006, allocations: 7.562 kB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.702, allocations: 0.7426 MB / 0.9589 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.7031, allocations: 0.5724 MB / 0.9595 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.7039, allocations: 288.4 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.7042, allocations: 101.2 kB / 0.9598 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.537e-05/0.7042, allocations: 29.95 kB / 0.9599 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004605/0.7047, allocations: 174.2 kB / 0.96 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.7047, allocations: 4.938 kB / 0.96 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0009311/0.7057, allocations: 360.7 kB / 0.9604 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.7057, allocations: 131.3 kB / 0.9605 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.7061, allocations: 299.2 kB / 0.9608 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.7061, allocations: 32.23 kB / 0.9608 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.7062, allocations: 129.3 kB / 0.9609 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.7063, allocations: 116.4 kB / 0.9611 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.7064, allocations: 6 kB / 0.9611 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.7065, allocations: 338.3 kB / 0.9614 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.7067, allocations: 78.02 kB / 0.9615 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.707, allocations: 124.6 kB / 0.9616 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.7073, allocations: 113.6 kB / 0.9617 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7073, allocations: 0 / 0.9617 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007079/0.708, allocations: 277 kB / 0.962 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.7081, allocations: 5 kB / 0.962 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.7081, allocations: 0.9688 kB / 0.962 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.7081, allocations: 1.375 kB / 0.962 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.7084, allocations: 63.06 kB / 0.962 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.7085, allocations: 2.156 kB / 0.962 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.7087, allocations: 31.69 kB / 0.9621 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.7087, allocations: 21.55 kB / 0.9621 GB, free: 2.082 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001835/0.7089, allocations: 155.9 kB / 0.9622 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.709, allocations: 29.27 kB / 0.9623 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008532/0.7099, allocations: 390.3 kB / 0.9626 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.7099, allocations: 3.781 kB / 0.9626 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7099, allocations: 0 / 0.9626 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7099, allocations: 9.141 kB / 0.9626 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.7102, allocations: 323.4 kB / 0.9629 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7102, allocations: 0 / 0.9629 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.7104, allocations: 57.38 kB / 0.963 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7104, allocations: 1.312 kB / 0.963 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.7104, allocations: 16.64 kB / 0.963 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.7104, allocations: 5.359 kB / 0.963 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7104, allocations: 0 / 0.963 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.7108, allocations: 319.2 kB / 0.9633 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.7109, allocations: 149.7 kB / 0.9635 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.7109, allocations: 6.844 kB / 0.9635 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.7111, allocations: 19.47 kB / 0.9635 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.7111, allocations: 25.19 kB / 0.9635 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.7112, allocations: 12.62 kB / 0.9635 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000166/0.7113, allocations: 231.3 kB / 0.9637 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7113, allocations: 0 / 0.9637 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002976/0.7116, allocations: 68.94 kB / 0.9638 GB, free: 0.8398 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001442/0.7131, allocations: 1.15 MB / 0.9649 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.7135, allocations: 223 kB / 0.9652 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7135, allocations: 0.7812 kB / 0.9652 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.7137, allocations: 132.4 kB / 0.9653 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.714, allocations: 42.11 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.7164, allocations: 1.466 MB / 0.9667 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.7168, allocations: 0.7616 MB / 0.9675 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003291/0.7171, allocations: 147.5 kB / 0.9676 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.7172, allocations: 92.48 kB / 0.9677 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.7173, allocations: 0 / 0.9677 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4977/1.215, allocations: 5.39 MB / 0.973 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/1.215, allocations: 252 kB / 0.9732 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.982, allocations: 2.031 kB / 0.9732 GB, free: 11.19 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat does not exist to compare? outputFormat=mat