Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.035/2.035, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000953/0.0009531, allocations: 183.6 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 103.8 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.504e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2011, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.805/4.006, allocations: 1.732 GB / 2.939 GB, free: 128.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/4.006, allocations: 87.59 kB / 2.939 GB, free: 128.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1643/4.171, allocations: 83.2 MB / 3.02 GB, free: 51.55 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.813e-06/4.171, allocations: 0 / 3.02 GB, free: 51.55 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.043e-05/4.171, allocations: 32 kB / 3.02 GB, free: 51.52 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.001771/4.172, allocations: 1.314 MB / 3.021 GB, free: 50.15 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/4.172, allocations: 8.562 kB / 3.021 GB, free: 50.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007924/4.173, allocations: 238 kB / 3.021 GB, free: 49.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/4.174, allocations: 0.7405 MB / 3.022 GB, free: 49.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/4.174, allocations: 88.17 kB / 3.022 GB, free: 49.03 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/4.174, allocations: 72 kB / 3.022 GB, free: 48.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001446/4.176, allocations: 1.27 MB / 3.024 GB, free: 47.69 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/4.177, allocations: 1.05 MB / 3.025 GB, free: 46.58 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/4.177, allocations: 7.938 kB / 3.025 GB, free: 46.57 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/4.177, allocations: 7.938 kB / 3.025 GB, free: 46.56 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/4.177, allocations: 32 kB / 3.025 GB, free: 46.53 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/4.182, allocations: 3.321 MB / 3.028 GB, free: 43.15 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009917/4.183, allocations: 0.8092 MB / 3.029 GB, free: 42.33 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/4.183, allocations: 323.4 kB / 3.029 GB, free: 42.01 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.841e-05/4.183, allocations: 48.73 kB / 3.029 GB, free: 41.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000644/4.184, allocations: 0.4919 MB / 3.029 GB, free: 41.45 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 3.366e-06/4.184, allocations: 0 / 3.029 GB, free: 41.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.001691/4.185, allocations: 0.8319 MB / 3.03 GB, free: 40.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/4.186, allocations: 244.1 kB / 3.031 GB, free: 40.31 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/4.186, allocations: 0.5701 MB / 3.031 GB, free: 39.73 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/4.186, allocations: 29.7 kB / 3.031 GB, free: 39.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/4.186, allocations: 0.5152 MB / 3.032 GB, free: 39.18 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/4.187, allocations: 295.6 kB / 3.032 GB, free: 38.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/4.187, allocations: 4 kB / 3.032 GB, free: 38.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/4.187, allocations: 382.8 kB / 3.032 GB, free: 38.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/4.187, allocations: 266.6 kB / 3.033 GB, free: 38.23 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/4.188, allocations: 389.2 kB / 3.033 GB, free: 37.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/4.188, allocations: 346.2 kB / 3.033 GB, free: 37.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/4.188, allocations: 0 / 3.033 GB, free: 37.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001418/4.189, allocations: 0.8795 MB / 3.034 GB, free: 36.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/4.189, allocations: 4 kB / 3.034 GB, free: 36.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/4.189, allocations: 4 kB / 3.034 GB, free: 36.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/4.19, allocations: 84.83 kB / 3.034 GB, free: 36.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/4.191, allocations: 191.7 kB / 3.034 GB, free: 36.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/4.192, allocations: 1.465 MB / 3.036 GB, free: 34.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/4.193, allocations: 71.25 kB / 3.036 GB, free: 34.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/4.193, allocations: 43.97 kB / 3.036 GB, free: 34.61 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/4.193, allocations: 120.9 kB / 3.036 GB, free: 34.49 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001377/4.194, allocations: 0.8318 MB / 3.037 GB, free: 33.64 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/4.194, allocations: 90.95 kB / 3.037 GB, free: 33.55 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/4.196, allocations: 1.191 MB / 3.038 GB, free: 32.35 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/4.196, allocations: 12 kB / 3.038 GB, free: 32.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/4.196, allocations: 0 / 3.038 GB, free: 32.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/4.196, allocations: 7.969 kB / 3.038 GB, free: 32.33 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/4.199, allocations: 2.203 MB / 3.04 GB, free: 30.08 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/4.199, allocations: 0 / 3.04 GB, free: 30.08 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/4.2, allocations: 183.7 kB / 3.04 GB, free: 29.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004308/4.2, allocations: 92.77 kB / 3.04 GB, free: 29.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/4.2, allocations: 15.98 kB / 3.041 GB, free: 29.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/4.201, allocations: 1.492 MB / 3.042 GB, free: 28.17 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/4.201, allocations: 0 / 3.042 GB, free: 28.17 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/4.203, allocations: 1.009 MB / 3.043 GB, free: 27.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/4.203, allocations: 343.4 kB / 3.043 GB, free: 26.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/4.203, allocations: 0 / 3.043 GB, free: 26.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/4.204, allocations: 63.88 kB / 3.043 GB, free: 26.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/4.204, allocations: 81.2 kB / 3.043 GB, free: 26.65 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/4.204, allocations: 40.03 kB / 3.043 GB, free: 26.61 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004179/4.204, allocations: 483.1 kB / 3.044 GB, free: 26.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.8e-07/4.204, allocations: 0 / 3.044 GB, free: 26.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009533/4.205, allocations: 414.5 kB / 3.044 GB, free: 25.73 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002886/4.208, allocations: 2.542 MB / 3.047 GB, free: 23.28 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00107/4.209, allocations: 0.8396 MB / 3.048 GB, free: 22.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/4.209, allocations: 7.938 kB / 3.048 GB, free: 22.42 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/4.21, allocations: 0.5298 MB / 3.048 GB, free: 21.89 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/4.211, allocations: 226.7 kB / 3.048 GB, free: 21.67 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/4.214, allocations: 1.877 MB / 3.05 GB, free: 19.75 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/4.215, allocations: 1.145 MB / 3.051 GB, free: 18.58 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007538/4.216, allocations: 283.1 kB / 3.052 GB, free: 18.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/4.216, allocations: 499 kB / 3.052 GB, free: 17.81 MB / 1.151 GB Notification: Performance of SimCode: time 3.4e-07/4.216, allocations: 4 kB / 3.052 GB, free: 17.81 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9338/5.15, allocations: 27.6 MB / 3.079 GB, free: 386 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/5.15, allocations: 207.9 kB / 3.079 GB, free: 385.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.329/8.479, allocations: 0 / 3.079 GB, free: 385.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat