Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.5/2.5, allocations: 390.5 MB / 398 MB, free: 10.97 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.001182/0.001182, allocations: 169 kB / 491.2 MB, free: 1.609 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.556/1.556, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009649/0.0009648, allocations: 95.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.77e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.254, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.139/4.393, allocations: 1.733 GB / 2.946 GB, free: 131.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/4.393, allocations: 92.78 kB / 2.946 GB, free: 131.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1704/4.564, allocations: 83.22 MB / 3.027 GB, free: 47.59 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.184e-06/4.564, allocations: 0 / 3.027 GB, free: 47.59 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.964e-05/4.564, allocations: 32 kB / 3.027 GB, free: 47.56 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.001977/4.566, allocations: 1.319 MB / 3.028 GB, free: 46.19 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/4.566, allocations: 8.031 kB / 3.028 GB, free: 46.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008491/4.567, allocations: 230 kB / 3.029 GB, free: 45.95 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/4.568, allocations: 0.7444 MB / 3.029 GB, free: 45.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/4.568, allocations: 80.19 kB / 3.029 GB, free: 45.08 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/4.568, allocations: 75.98 kB / 3.029 GB, free: 45 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001572/4.569, allocations: 1.273 MB / 3.031 GB, free: 43.73 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/4.571, allocations: 1.05 MB / 3.032 GB, free: 42.62 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/4.571, allocations: 15.88 kB / 3.032 GB, free: 42.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/4.571, allocations: 0 / 3.032 GB, free: 42.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/4.571, allocations: 32 kB / 3.032 GB, free: 42.57 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/4.576, allocations: 3.321 MB / 3.035 GB, free: 39.19 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009807/4.577, allocations: 0.8086 MB / 3.036 GB, free: 38.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/4.577, allocations: 327.2 kB / 3.036 GB, free: 38.05 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-05/4.577, allocations: 44.64 kB / 3.036 GB, free: 38.01 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000623/4.578, allocations: 499.6 kB / 3.037 GB, free: 37.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=93): time 2.284e-06/4.578, allocations: 3.938 kB / 3.037 GB, free: 37.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=93): time 0.001628/4.579, allocations: 0.8358 MB / 3.037 GB, free: 36.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/4.58, allocations: 244.1 kB / 3.038 GB, free: 36.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006183/4.58, allocations: 0.5701 MB / 3.038 GB, free: 35.78 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.066e-05/4.58, allocations: 25.7 kB / 3.038 GB, free: 35.75 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/4.581, allocations: 0.5152 MB / 3.039 GB, free: 35.23 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/4.581, allocations: 295.6 kB / 3.039 GB, free: 34.93 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/4.581, allocations: 4 kB / 3.039 GB, free: 34.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.323e-05/4.581, allocations: 386.8 kB / 3.039 GB, free: 34.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/4.581, allocations: 266.6 kB / 3.04 GB, free: 34.28 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/4.582, allocations: 389.2 kB / 3.04 GB, free: 33.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/4.582, allocations: 346.2 kB / 3.04 GB, free: 33.53 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/4.582, allocations: 4 kB / 3.04 GB, free: 33.53 MB / 1.151 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001512/4.584, allocations: 0.8718 MB / 3.041 GB, free: 32.64 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/4.584, allocations: 7.938 kB / 3.041 GB, free: 32.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/4.584, allocations: 4 kB / 3.041 GB, free: 32.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/4.584, allocations: 80.84 kB / 3.041 GB, free: 32.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/4.585, allocations: 187.7 kB / 3.041 GB, free: 32.37 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/4.586, allocations: 1.477 MB / 3.043 GB, free: 30.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/4.587, allocations: 67.34 kB / 3.043 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/4.587, allocations: 39.97 kB / 3.043 GB, free: 30.66 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.0001581/4.587, allocations: 121.9 kB / 3.043 GB, free: 30.54 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001453/4.589, allocations: 0.8357 MB / 3.044 GB, free: 29.69 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/4.589, allocations: 90.97 kB / 3.044 GB, free: 29.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/4.591, allocations: 1.187 MB / 3.045 GB, free: 28.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/4.591, allocations: 12 kB / 3.045 GB, free: 28.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/4.591, allocations: 0 / 3.045 GB, free: 28.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/4.591, allocations: 7.969 kB / 3.045 GB, free: 28.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/4.594, allocations: 2.203 MB / 3.047 GB, free: 26.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/4.594, allocations: 0 / 3.047 GB, free: 26.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006485/4.594, allocations: 183.7 kB / 3.048 GB, free: 25.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/4.595, allocations: 88.77 kB / 3.048 GB, free: 25.86 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/4.595, allocations: 27.94 kB / 3.048 GB, free: 25.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/4.596, allocations: 1.488 MB / 3.049 GB, free: 24.22 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/4.596, allocations: 0 / 3.049 GB, free: 24.22 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/4.598, allocations: 1.013 MB / 3.05 GB, free: 23.19 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/4.598, allocations: 339.4 kB / 3.05 GB, free: 22.84 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/4.598, allocations: 4 kB / 3.05 GB, free: 22.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000627/4.599, allocations: 55.94 kB / 3.05 GB, free: 22.78 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/4.599, allocations: 77.2 kB / 3.051 GB, free: 22.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/4.599, allocations: 39.97 kB / 3.051 GB, free: 22.67 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004709/4.6, allocations: 487.1 kB / 3.051 GB, free: 22.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.6, allocations: 3.938 kB / 3.051 GB, free: 22.19 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001124/4.601, allocations: 410.5 kB / 3.051 GB, free: 21.79 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.003182/4.604, allocations: 2.537 MB / 3.054 GB, free: 19.33 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001247/4.605, allocations: 0.8396 MB / 3.055 GB, free: 18.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/4.605, allocations: 0 / 3.055 GB, free: 18.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/4.606, allocations: 0.53 MB / 3.055 GB, free: 17.95 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/4.607, allocations: 226.1 kB / 3.055 GB, free: 17.73 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/4.611, allocations: 1.877 MB / 3.057 GB, free: 15.81 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/4.611, allocations: 1.149 MB / 3.058 GB, free: 14.63 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008604/4.612, allocations: 279.1 kB / 3.059 GB, free: 14.36 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/4.613, allocations: 495.2 kB / 3.059 GB, free: 13.87 MB / 1.151 GB Notification: Performance of SimCode: time 6.92e-07/4.613, allocations: 4 kB / 3.059 GB, free: 13.87 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6285/5.241, allocations: 27.6 MB / 3.086 GB, free: 381.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/5.242, allocations: 208.7 kB / 3.086 GB, free: 381.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/7.99, allocations: 1.031 kB / 3.086 GB, free: 381.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat