Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.439/2.439, allocations: 390.5 MB / 398 MB, free: 10.92 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.001189/0.001189, allocations: 186.4 kB / 491.2 MB, free: 1.555 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.669/1.669, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008881/0.000888, allocations: 93.98 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.957e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3433, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.418/5.762, allocations: 1.732 GB / 2.945 GB, free: 131.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004182/5.762, allocations: 83.95 kB / 2.945 GB, free: 131.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2027/5.965, allocations: 93.47 MB / 3.036 GB, free: 37.58 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.735e-06/5.965, allocations: 0 / 3.036 GB, free: 37.58 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001639/5.965, allocations: 36 kB / 3.036 GB, free: 37.54 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003695/5.969, allocations: 1.407 MB / 3.038 GB, free: 36.09 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.536e-05/5.969, allocations: 8.031 kB / 3.038 GB, free: 36.08 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/5.971, allocations: 249.8 kB / 3.038 GB, free: 35.83 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/5.972, allocations: 0.7716 MB / 3.039 GB, free: 35.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/5.973, allocations: 44 kB / 3.039 GB, free: 34.97 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/5.973, allocations: 84 kB / 3.039 GB, free: 34.89 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00248/5.975, allocations: 1.372 MB / 3.04 GB, free: 33.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/5.978, allocations: 1.181 MB / 3.041 GB, free: 32.28 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/5.978, allocations: 3.953 kB / 3.041 GB, free: 32.28 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/5.978, allocations: 4 kB / 3.041 GB, free: 32.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/5.978, allocations: 32 kB / 3.041 GB, free: 32.24 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/5.985, allocations: 3.565 MB / 3.045 GB, free: 28.62 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/5.986, allocations: 0.857 MB / 3.045 GB, free: 27.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/5.986, allocations: 348.7 kB / 3.046 GB, free: 27.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/5.987, allocations: 49.38 kB / 3.046 GB, free: 27.37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008003/5.987, allocations: 0.5341 MB / 3.046 GB, free: 26.81 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 4.077e-06/5.987, allocations: 0 / 3.046 GB, free: 26.81 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.002298/5.99, allocations: 0.9107 MB / 3.047 GB, free: 25.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/5.99, allocations: 244.6 kB / 3.048 GB, free: 25.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009913/5.991, allocations: 0.5818 MB / 3.048 GB, free: 25.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/5.991, allocations: 29.7 kB / 3.048 GB, free: 24.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/5.991, allocations: 0.5659 MB / 3.049 GB, free: 24.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/5.992, allocations: 331 kB / 3.049 GB, free: 24.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/5.992, allocations: 0 / 3.049 GB, free: 24.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001462/5.992, allocations: 390.8 kB / 3.049 GB, free: 23.68 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000448/5.992, allocations: 294.6 kB / 3.05 GB, free: 23.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/5.993, allocations: 428.2 kB / 3.05 GB, free: 22.95 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/5.993, allocations: 370.4 kB / 3.05 GB, free: 22.59 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/5.993, allocations: 0 / 3.05 GB, free: 22.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002017/5.996, allocations: 0.9575 MB / 3.051 GB, free: 21.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/5.996, allocations: 8 kB / 3.051 GB, free: 21.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/5.996, allocations: 0 / 3.051 GB, free: 21.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/5.996, allocations: 84.83 kB / 3.051 GB, free: 21.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/5.997, allocations: 215.7 kB / 3.052 GB, free: 21.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/5.999, allocations: 1.477 MB / 3.053 GB, free: 19.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/6, allocations: 83.23 kB / 3.053 GB, free: 19.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.563e-05/6, allocations: 43.97 kB / 3.053 GB, free: 19.59 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (116): * Single equations (assignments): 115 * 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.0002456/6, allocations: 122.3 kB / 3.053 GB, free: 19.46 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001908/6.002, allocations: 0.9107 MB / 3.054 GB, free: 18.54 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/6.003, allocations: 98.86 kB / 3.054 GB, free: 18.45 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/6.005, allocations: 1.288 MB / 3.056 GB, free: 17.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/6.005, allocations: 12 kB / 3.056 GB, free: 17.13 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/6.005, allocations: 3.938 kB / 3.056 GB, free: 17.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/6.005, allocations: 3.984 kB / 3.056 GB, free: 17.12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/6.009, allocations: 2.327 MB / 3.058 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/6.009, allocations: 0 / 3.058 GB, free: 14.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/6.01, allocations: 199.7 kB / 3.058 GB, free: 14.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/6.011, allocations: 80.78 kB / 3.058 GB, free: 14.47 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/6.011, allocations: 15.98 kB / 3.058 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/6.012, allocations: 1.496 MB / 3.06 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/6.012, allocations: 0 / 3.06 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/6.014, allocations: 1.067 MB / 3.061 GB, free: 11.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/6.014, allocations: 355.3 kB / 3.061 GB, free: 11.38 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/6.015, allocations: 0 / 3.061 GB, free: 11.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/6.015, allocations: 55.94 kB / 3.061 GB, free: 11.33 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/6.016, allocations: 73.2 kB / 3.061 GB, free: 11.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/6.016, allocations: 43.97 kB / 3.061 GB, free: 11.21 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006551/6.016, allocations: 0.4913 MB / 3.062 GB, free: 10.72 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.016, allocations: 3.938 kB / 3.062 GB, free: 10.72 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001766/6.018, allocations: 434.4 kB / 3.062 GB, free: 10.29 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 (115): * Single equations (assignments): 112 * 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.004383/6.022, allocations: 2.605 MB / 3.065 GB, free: 7.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001617/6.024, allocations: 0.9059 MB / 3.065 GB, free: 6.855 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/6.024, allocations: 0 / 3.065 GB, free: 6.855 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007678/6.025, allocations: 0.5573 MB / 3.066 GB, free: 6.289 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/6.026, allocations: 229.2 kB / 3.066 GB, free: 6.074 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/6.032, allocations: 2.011 MB / 3.068 GB, free: 4.02 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/6.033, allocations: 1.194 MB / 3.069 GB, free: 2.797 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001188/6.034, allocations: 283.7 kB / 3.07 GB, free: 2.516 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00085/6.035, allocations: 0.5422 MB / 3.07 GB, free: 1.973 MB / 1.151 GB Notification: Performance of SimCode: time 3.526e-06/6.035, allocations: 0 / 3.07 GB, free: 1.973 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8276/6.862, allocations: 28.78 MB / 3.098 GB, free: 380.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/6.863, allocations: 193 kB / 3.098 GB, free: 380.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/9.673, allocations: 2.75 kB / 3.098 GB, free: 380.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat