Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.001177/0.001177, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001509/0.001509, allocations: 168.7 kB / 15.95 MB, free: 204 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.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.661/2.661, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8957, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.001993/0.8978, allocations: 1.19 MB / 0.9823 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.8993, allocations: 0.6939 MB / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.8994, allocations: 0 / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.8994, allocations: 3.938 kB / 0.983 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.8995, allocations: 15.91 kB / 0.983 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.9001, allocations: 87.78 kB / 0.9831 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.9003, allocations: 67.77 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.9004, allocations: 16.16 kB / 0.9832 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.9005, allocations: 35.86 kB / 0.9832 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.9006, allocations: 31.89 kB / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.9006, allocations: 0 / 0.9832 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.9008, allocations: 87.84 kB / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.9009, allocations: 15.92 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.825e-05/0.9009, allocations: 37.64 kB / 0.9834 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.9012, allocations: 98.08 kB / 0.9835 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9012, allocations: 0 / 0.9835 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9012, allocations: 3.938 kB / 0.9835 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.9012, allocations: 4 kB / 0.9835 GB, free: 3.879 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007056/0.9019, allocations: 442.4 kB / 0.9839 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.902, allocations: 12.03 kB / 0.9839 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.902, allocations: 34.56 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.9021, allocations: 4 kB / 0.9839 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.9023, allocations: 178.9 kB / 0.9841 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.9023, allocations: 7.984 kB / 0.9841 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.9023, allocations: 8 kB / 0.9841 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.9026, allocations: 69.61 kB / 0.9842 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9026, allocations: 4 kB / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.9027, allocations: 0 / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.9027, allocations: 4 kB / 0.9842 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.9029, allocations: 47.97 kB / 0.9842 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.9035, allocations: 300.8 kB / 0.9845 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.9037, allocations: 54.52 kB / 0.9846 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.9038, allocations: 40.97 kB / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.9039, allocations: 3.984 kB / 0.9846 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.9042, allocations: 87.27 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 4.498e-06/0.9042, allocations: 0 / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005682/0.9048, allocations: 153.6 kB / 0.9849 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.9048, allocations: 51.41 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.905, allocations: 128.5 kB / 0.985 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.905, allocations: 37.69 kB / 0.9851 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.9051, allocations: 88.33 kB / 0.9851 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.9051, allocations: 19.81 kB / 0.9852 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.9051, allocations: 4 kB / 0.9852 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9053, allocations: 322.8 kB / 0.9855 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.9054, allocations: 23.92 kB / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.9055, allocations: 69.08 kB / 0.9856 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.9056, allocations: 31.98 kB / 0.9856 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9057, allocations: 4 kB / 0.9856 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003282/0.906, allocations: 121.4 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.906, allocations: 8 kB / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.9061, allocations: 0 / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9061, allocations: 0 / 0.9857 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.9062, allocations: 20.14 kB / 0.9857 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.9062, allocations: 7.938 kB / 0.9857 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.9063, allocations: 7.984 kB / 0.9858 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.9064, allocations: 7.938 kB / 0.9858 GB, free: 1.266 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.p,bli.p,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001557/0.9065, allocations: 117.8 kB / 0.9859 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.9066, allocations: 11.86 kB / 0.9859 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.9066, allocations: 12.38 kB / 0.9859 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9066, allocations: 4 kB / 0.9859 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9066, allocations: 0 / 0.9859 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.9066, allocations: 3.984 kB / 0.9859 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.9073, allocations: 390.4 kB / 0.9863 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9073, allocations: 0 / 0.9863 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.9073, allocations: 4 kB / 0.9863 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9074, allocations: 4 kB / 0.9863 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.9074, allocations: 7.984 kB / 0.9863 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9074, allocations: 0 / 0.9863 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9074, allocations: 0 / 0.9863 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.9078, allocations: 227.3 kB / 0.9865 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.9079, allocations: 88.95 kB / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.9079, allocations: 4 kB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.908, allocations: 11.98 kB / 0.9866 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.9081, allocations: 4 kB / 0.9866 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.9081, allocations: 3.984 kB / 0.9866 GB, free: 292 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.984e-05/0.9082, allocations: 103.2 kB / 0.9867 GB, free: 188 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9082, allocations: 0 / 0.9867 GB, free: 188 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005191/0.9087, allocations: 32 kB / 0.9867 GB, free: 156 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.p,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001106/0.9099, allocations: 0.8192 MB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.9102, allocations: 79.83 kB / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9102, allocations: 0 / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.9104, allocations: 43.97 kB / 0.9877 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.9109, allocations: 16.23 kB / 0.9877 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.9122, allocations: 0.6145 MB / 0.9883 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.9125, allocations: 0.6926 MB / 0.989 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.9125, allocations: 8.172 kB / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.9126, allocations: 19.44 kB / 0.989 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.9126, allocations: 0 / 0.989 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.9274, allocations: 2.418 MB / 0.9913 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.9277, allocations: 259.1 kB / 0.9916 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.754, allocations: 6.391 kB / 0.9916 GB, free: 11.2 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat