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.27/2.27, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001266/0.001266, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001031/0.001031, allocations: 95.94 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.839e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3164, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.308/4.624, allocations: 1.734 GB / 2.953 GB, free: 79.94 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/4.624, allocations: 83.95 kB / 2.953 GB, free: 79.86 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8452/5.47, allocations: 84.1 MB / 3.035 GB, free: 397.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.994e-06/5.47, allocations: 0 / 3.035 GB, free: 397.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001506/5.47, allocations: 31.28 kB / 3.035 GB, free: 397.7 MB / 1.167 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.003453/5.473, allocations: 1.32 MB / 3.036 GB, free: 397.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/5.473, allocations: 10.92 kB / 3.036 GB, free: 397.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005193/5.474, allocations: 184.6 kB / 3.036 GB, free: 397 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/5.475, allocations: 232.2 kB / 3.037 GB, free: 397 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/5.477, allocations: 0.7411 MB / 3.037 GB, free: 396.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/5.477, allocations: 126.3 kB / 3.038 GB, free: 396.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/5.477, allocations: 119.3 kB / 3.038 GB, free: 396.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/5.48, allocations: 1.228 MB / 3.039 GB, free: 396.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/5.48, allocations: 1.812 kB / 3.039 GB, free: 396.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/5.48, allocations: 53.09 kB / 3.039 GB, free: 396.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/5.48, allocations: 30.25 kB / 3.039 GB, free: 396.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/5.483, allocations: 1.337 MB / 3.04 GB, free: 396.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006662/5.489, allocations: 3.558 MB / 3.044 GB, free: 395.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/5.491, allocations: 0.8748 MB / 3.045 GB, free: 395.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/5.491, allocations: 346 kB / 3.045 GB, free: 395.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/5.492, allocations: 46.02 kB / 3.045 GB, free: 395.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000898/5.492, allocations: 0.514 MB / 3.045 GB, free: 395.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=93): time 3.136e-06/5.492, allocations: 1 kB / 3.045 GB, free: 395.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=93): time 0.002165/5.495, allocations: 0.8845 MB / 3.046 GB, free: 395.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/5.495, allocations: 245.7 kB / 3.047 GB, free: 395.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/5.496, allocations: 0.7014 MB / 3.047 GB, free: 395 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.255e-05/5.496, allocations: 46.97 kB / 3.047 GB, free: 395 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/5.496, allocations: 0.5042 MB / 3.048 GB, free: 394.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/5.496, allocations: 310.7 kB / 3.048 GB, free: 394.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/5.496, allocations: 19.78 kB / 3.048 GB, free: 394.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/5.497, allocations: 337.4 kB / 3.048 GB, free: 394.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/5.497, allocations: 284.6 kB / 3.049 GB, free: 394.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/5.498, allocations: 415.3 kB / 3.049 GB, free: 394.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/5.498, allocations: 349.7 kB / 3.049 GB, free: 394.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/5.498, allocations: 0.9688 kB / 3.049 GB, free: 394.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001955/5.5, allocations: 0.9333 MB / 3.05 GB, free: 394 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/5.5, allocations: 5.438 kB / 3.05 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/5.5, allocations: 1.656 kB / 3.05 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/5.501, allocations: 87.17 kB / 3.05 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/5.502, allocations: 185.5 kB / 3.051 GB, free: 394 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/5.503, allocations: 1.531 MB / 3.052 GB, free: 392.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/5.504, allocations: 108.7 kB / 3.052 GB, free: 392.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/5.504, allocations: 35.08 kB / 3.052 GB, free: 392.7 MB / 1.167 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.0002036/5.504, allocations: 160.4 kB / 3.052 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/5.505, allocations: 97.59 kB / 3.052 GB, free: 392.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/5.507, allocations: 1.264 MB / 3.054 GB, free: 392.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/5.508, allocations: 13.95 kB / 3.054 GB, free: 392.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/5.508, allocations: 1.062 kB / 3.054 GB, free: 392.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/5.508, allocations: 5.719 kB / 3.054 GB, free: 392.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/5.512, allocations: 2.424 MB / 3.056 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/5.512, allocations: 0 / 3.056 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/5.512, allocations: 181.5 kB / 3.056 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005011/5.513, allocations: 88.17 kB / 3.056 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/5.513, allocations: 30.2 kB / 3.056 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/5.514, allocations: 1.555 MB / 3.058 GB, free: 390.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/5.514, allocations: 4.906 kB / 3.058 GB, free: 390.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/5.516, allocations: 1.066 MB / 3.059 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/5.517, allocations: 356.1 kB / 3.059 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/5.517, allocations: 19.89 kB / 3.059 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007249/5.518, allocations: 78.06 kB / 3.059 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/5.518, allocations: 74.95 kB / 3.059 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/5.518, allocations: 42.64 kB / 3.059 GB, free: 390.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008274/5.519, allocations: 0.5776 MB / 3.06 GB, free: 390.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/5.519, allocations: 0.875 kB / 3.06 GB, free: 390.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001301/5.52, allocations: 443.5 kB / 3.06 GB, free: 390.1 MB / 1.167 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.003867/5.524, allocations: 2.544 MB / 3.063 GB, free: 389.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001636/5.526, allocations: 0.8854 MB / 3.064 GB, free: 389.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/5.526, allocations: 1.094 kB / 3.064 GB, free: 389.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/5.527, allocations: 0.5642 MB / 3.064 GB, free: 389 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/5.528, allocations: 257.1 kB / 3.065 GB, free: 389 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/5.532, allocations: 1.978 MB / 3.067 GB, free: 388.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/5.533, allocations: 1.151 MB / 3.068 GB, free: 387.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001008/5.534, allocations: 288.8 kB / 3.068 GB, free: 387.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/5.535, allocations: 496.4 kB / 3.068 GB, free: 387.1 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/5.535, allocations: 416 / 3.068 GB, free: 387.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06268/5.597, allocations: 36.03 MB / 3.104 GB, free: 384.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/5.598, allocations: 249.9 kB / 3.104 GB, free: 384.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/8.756, allocations: 1.875 kB / 3.104 GB, free: 384.6 MB / 1.167 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