Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.0009504/0.0009504, allocations: 99.08 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.001089/0.001089, allocations: 177.3 kB / 15.94 MB, free: 228 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.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.305 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.377/2.377, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8054/0.8058, allocations: 142.3 MB / 0.9536 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002091/0.8079, allocations: 1.531 MB / 0.9551 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.81, allocations: 1.446 MB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.8101, allocations: 1.25 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.8103, allocations: 27.34 kB / 0.9565 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.8106, allocations: 68.8 kB / 0.9566 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.8111, allocations: 153 kB / 0.9567 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.8114, allocations: 172.7 kB / 0.9569 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.8115, allocations: 26.39 kB / 0.9569 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.8116, allocations: 82.31 kB / 0.957 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.8118, allocations: 73.64 kB / 0.9571 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.8119, allocations: 10.22 kB / 0.9571 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.812, allocations: 59.22 kB / 0.9571 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.8121, allocations: 69.94 kB / 0.9572 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.8122, allocations: 62.83 kB / 0.9573 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.8125, allocations: 232 kB / 0.9575 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8125, allocations: 9.125 kB / 0.9575 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8125, allocations: 0 / 0.9575 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.8125, allocations: 0 / 0.9575 GB, free: 5.176 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007244/0.8133, allocations: 0.5034 MB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.8133, allocations: 9 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.8134, allocations: 54.05 kB / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.8136, allocations: 36.11 kB / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.8138, allocations: 269.2 kB / 0.9583 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.8139, allocations: 15.66 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.8139, allocations: 18.91 kB / 0.9584 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.8143, allocations: 237.8 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8143, allocations: 3.938 kB / 0.9586 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.8143, allocations: 10.31 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.8144, allocations: 4.312 kB / 0.9586 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009084/0.8153, allocations: 0.7556 MB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.8163, allocations: 0.6491 MB / 0.96 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.8169, allocations: 305.3 kB / 0.9603 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.817, allocations: 21.34 kB / 0.9603 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.8174, allocations: 181.6 kB / 0.9605 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.8174, allocations: 3.938 kB / 0.9605 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0007018/0.8181, allocations: 371.7 kB / 0.9608 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.8181, allocations: 144.8 kB / 0.961 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.8184, allocations: 303.7 kB / 0.9613 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.8185, allocations: 36.86 kB / 0.9613 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.8186, allocations: 134.2 kB / 0.9614 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.8187, allocations: 117.5 kB / 0.9615 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.8187, allocations: 5.375 kB / 0.9615 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.644e-05/0.8188, allocations: 339.2 kB / 0.9619 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.8189, allocations: 83.36 kB / 0.962 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.8191, allocations: 119.2 kB / 0.9621 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.8193, allocations: 114.5 kB / 0.9622 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8193, allocations: 3.953 kB / 0.9622 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004244/0.8197, allocations: 276.2 kB / 0.9624 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.8197, allocations: 6.656 kB / 0.9624 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8197, allocations: 3.938 kB / 0.9625 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.8198, allocations: 1.125 kB / 0.9625 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.82, allocations: 64.91 kB / 0.9625 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.82, allocations: 1.125 kB / 0.9625 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.8202, allocations: 39.08 kB / 0.9626 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.8202, allocations: 12.22 kB / 0.9626 GB, free: 1.465 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 (36): * Single equations (assignments): 36 * 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.0001438/0.8204, allocations: 164.1 kB / 0.9627 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.8204, allocations: 30.45 kB / 0.9627 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006326/0.8211, allocations: 387 kB / 0.9631 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.8211, allocations: 3.844 kB / 0.9631 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8211, allocations: 0 / 0.9631 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.8211, allocations: 1.219 kB / 0.9631 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.8214, allocations: 344.2 kB / 0.9635 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8214, allocations: 0.5938 kB / 0.9635 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.8216, allocations: 61.7 kB / 0.9635 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.8216, allocations: 2.625 kB / 0.9635 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.8216, allocations: 15.52 kB / 0.9635 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.8216, allocations: 6.344 kB / 0.9635 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.8216, allocations: 3.938 kB / 0.9635 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.8221, allocations: 320.4 kB / 0.9638 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.8223, allocations: 160.1 kB / 0.964 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.8223, allocations: 14.14 kB / 0.964 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.8225, allocations: 33.84 kB / 0.964 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.8226, allocations: 23.97 kB / 0.9641 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.8226, allocations: 14.48 kB / 0.9641 GB, free: 364 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001846/0.8228, allocations: 236.1 kB / 0.9643 GB, free: 212 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8228, allocations: 0 / 0.9643 GB, free: 212 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003492/0.8232, allocations: 70.69 kB / 0.9644 GB, free: 192 kB / 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 (35): * Single equations (assignments): 34 * 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.001703/0.8249, allocations: 1.15 MB / 0.9655 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.8253, allocations: 227.2 kB / 0.9657 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.8253, allocations: 1 kB / 0.9657 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.8256, allocations: 125.1 kB / 0.9658 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.8258, allocations: 43.86 kB / 0.9659 GB, free: 15.2 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.002771/0.8286, allocations: 1.529 MB / 0.9674 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.8291, allocations: 0.7695 MB / 0.9681 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003905/0.8295, allocations: 147.5 kB / 0.9683 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.8297, allocations: 101.3 kB / 0.9684 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.8297, allocations: 0 / 0.9684 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4979/1.328, allocations: 5.85 MB / 0.9741 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/1.328, allocations: 260.5 kB / 0.9743 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/3.103, allocations: 0 / 0.9743 GB, free: 10.28 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat does not exist to compare? outputFormat=mat